与Winform UI混淆(大小和间距) [英] Confused with Winform UI (Sizing and spacing)

查看:95
本文介绍了与Winform UI混淆(大小和间距)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在开发Windows应用程序,并且对winform UI(大小和控件位置)感到非常困惑.
我面临的问题是表格大小,我使用了MDI表格,其大小设置为适合笔记本电脑屏幕的1024 * 734
我创建了一个UserMaster表单,但是当主表单(MDI)最大化时,由于没有太多控件,所以留下了很多空白

我的屏幕分辨率为1366 * 768,但我的应用程序将在台式机和笔记本电脑上使用

Windows应用程序用户界面是否有任何行业惯例或标准

我正在使用C#开发

在此先感谢
Siddhesh

Hi All,

I am developing a windows application and I am very much confused with the winform UI (Sizing and control placement).
The problem I am facing is with size of forms, I have used MDI form whose size is set to 1024*734 that fits in my laptop screen
I created a UserMaster form but when the main form(MDI) is maximized lots of blank space is left over as there are not many controls

My screen resolution is 1366*768, but my application will be used on desktops as well as laptops

Is there any Industrial Practice or standards for windows application UI

I am developing on C#

Thanks in advance
Siddhesh

推荐答案

明智地使用ControlDockAnchor属性.或者,您可以使用反复试验的方法.
Use Dock and Anchor properties of your Controls wisely. Or, you may use trial and error approach.


请参见此处 [ ^ ]或此处 [
See here[^] or here[^].


这篇关于与Winform UI混淆(大小和间距)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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