表格大小和屏幕尺寸 [英] Form size and screen size

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

问题描述

大家好,有没有办法自动调整表单大小?我的网络中有不同类型的屏幕,我的表格仅适用于其中的50%。



非常感谢







解决方案

您好,


如果您想自动调整表单大小以适应不同的分辨率,一切都在设计时完成,I想想你可以采取的两种方式。


首先,你需要做的就是让你的表格看起来尽可能小,以便能够以低分辨率显示,你可以;可以
一起调整表单大小,控件大小和字体大小,这是一个  苦差事
到自我完全适应 表单的所有控件,
正确安排控件   充分利用Panel,F lowLayoutPanel,TableLayoutPanel和  scrollBar ,Dock,Anchor属性。


其次,你可以为每个r创建表单解析屏幕,并根据不同屏幕的分辨率显示这些表格。 这种方式你必须考虑各种各样的分辨率,以及你的
金额的大量增加代码。


最好的问候,


Bob



Hi guys, is there any way to resize automatically the form? I've got different types of screen in my network and my form suit only 50% of them.

Many Thanks



解决方案

Hi,

If you want to resize automatically the form to accommodate different resolutions, everything is done at design-time,I think two ways you can take.

First, all you have to do is to make your form look as small as possible so that it can be displayed at low resolution, you can adjust the form size, control size and font size together, It is a drudgery to self-adaptation completely all controls of the form, arrange the controls properly and make good use of Panel, FlowLayoutPanel, TableLayoutPanel and the scrollBar, Dock, Anchor properties.

Second, you can create forms for each resolution screen, and display these forms according to the resolution of the different screens.This way you have to consider a variety of resolutions, and a large number of the increase in the amount of your code.

Best Regards,

Bob


这篇关于表格大小和屏幕尺寸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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