不同的解决问题 [英] Diffrent Resolution problem

查看:65
本文介绍了不同的解决问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设计了1366 * 768分辨率的窗口窗体,但是当该窗体以1024 * 768分辨率运行时它不显示它将被切割

所以我希望我的窗体运行时没有切入任何一个决议都可以帮助我解决这个问题

i不会滚动选项

I Design Window Form in 1366*768 resolution ,but when that form run on 1024*768 resolution then it not display full it will be cut
so i want my form is run without cut in any resolution can any one help me about this issue
i don't wont scroll option

推荐答案

你不能真正做到这一点应用程序,几乎肯定不会使用WinForms应用程序。



如果你仔细设计应用程序就可以做到这一点 - VS设计中央工作表面的方式和适合圆形工具的可停靠工具。但对于标准对话框或基于表单的应用程序,它通常不能很好地工作。



使用Winforms它是一个真正的问题:你可以使用锚定和面板等喜欢自动调整控件,但这不会影响任何文本:所以你最终会得到带有大文本的小按钮,所以你实际上无法阅读它。



您可以在WPF中执行此操作 - 前提是您的用户不介意微小(且几乎不可读)的文本,因为它旨在与控件同时缩放字体。但即便如此,它也很少有效。



我怀疑你最好的解决方案是查看你的用户界面并重新设计它,使其无论分辨率如何都更有用。对不起 - 但是没有灵丹妙药。
You can't really do that with most applications, and almost certainly not with WinForms apps.

You can do it if you design the app carefully - the way that VS is designed with a central "work surface" and dockable tools that "fit in" round that. But for a standard dialog or form based application it doesn't often work well at all.

With Winforms it's a real problem: you can use anchoring and panels and such like to autosize controls, but that doesn't affect any text: so you end up with tiny buttons with big text on them so you can't actually read it.

You can do it in WPF - provided your users don't mind tiny (and near unreadable) text as it is designed to scale fonts at the same time as controls. But even then, it rarely works well.

I suspect you best solution is to look at your UI and redesign it to make it more usable regardless of the resolution. Sorry - but there is no magic bullet for this.


这篇关于不同的解决问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆