Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一种简单的方法来扩展/缩放 VB.NET 应用程序及其中的所有控件以填充更大的屏幕分辨率(或者我必须单独调整每个表单元素)?
注意:在这种情况下,向后调整分辨率不是永久(或首选)选项。
请不要设计您的表格,以便它们总是填满屏幕。您的客户购买了昂贵的漂亮显示器来查看更多窗口,而不是您的表单。
否则,设计良好的表单总是可以调整大小。使用 Anchor 和 Dock 属性、TableLayoutPanel 和 FlowLayoutPanel 确保您的控件正确移动和调整自身大小。如果您的客户想要它大,她只需单击最大化按钮。