如何在vb.net中设置表单的分辨率以适应其他单位? [英] How do I can set the resolution of my forms in vb.net to fit on other units?

查看:61
本文介绍了如何在vb.net中设置表单的分辨率以适应其他单位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在vb.net中设置我的表单的分辨率,这样当它将在更小或更大的单元上运行时,表单及其所有内容将被调整为完全适合,就像我在我的单元上运行它一样?

How do I can set the resolution of my forms in vb.net so when it will be run on smaller or bigger unit the forms and all its content will be adjusted to fit perfectly just like when I run it on my unit?

推荐答案

正如@Wes_Aday所说,你应该使用面板,tablelayoutpanel,splitcontainer等布局控件,并将dock属性设置为'fill'。请记住,无论用户屏幕大小是什么,您都应该使用最小表格大小设计您的应用程序(例如1024x700)
As @Wes_Aday said you should use layout control like panel, tablelayoutpanel, splitcontainer etc and set the dock property to 'fill'. Remember, no matter what the user screen size is you should design your application with a mininum form size (eg. 1024x700)


这篇关于如何在vb.net中设置表单的分辨率以适应其他单位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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