Windows应用程序调整大小 [英] Windows Application resizing

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

问题描述

当屏幕分辨率改变时,如何调整表单大小及其字段大小?

How do I resize the form size and its fields size when the screen resolution changes?

推荐答案


如果您要调整所有控件的大小并保持宽高比等,则需要使用第3方库.
[
Here[^]''s a good explanation on designing resizable forms.

If you mean that you want to resize all controls and maintain aspect ratio etc, then you need to use a 3rd party library. This[^] is really good...


当涉及到Windows应用程序时,它全都用了设计,
1)使用表格布局面板使其成为Doce =填写页面
2)根据您的控件需求定义行和列
3)将控件放在单元格中,并将锚点"属性应用于顶部",左侧"(或根据您的设置)


==============
只需说这一切都取决于Dock和Enchor的属性.. !!
When it concern with windows application it all depents on design,
1) Use table layout panel make it Doce = Fill for the page
2) Define rows and columns as per your control needs
3) Put controls in cell and apply Anchor property to Top, Left (Or as per your setting)


===============
Just need to say it all depends upon Dock and Enchor property..!!


还有一些第三方产品也可以提供此功能.
如何
[
There are some third party products that provide this as well.
How this[^] one is not free.


这篇关于Windows应用程序调整大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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