想要根据监视器运行时的分辨率调整窗体大小 [英] want to resize form depending on the resolution of the monitor runtime

查看:100
本文介绍了想要根据监视器运行时的分辨率调整窗体大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

希望根据监视器运行时的分辨率调整窗体大小

解决方案

我认为这不是一个好主意。开发高度容忍窗口大小的流畅表单设计要好得多,当然还有屏幕尺寸(行话称之为分辨率,但实际分辨率有所不同)。



这不是很难做到,恰恰相反,它还可以改善项目的维护并简化UI设计和开发,在布局和相关方面。请查看我过去的答案:

屏幕分辨率更改时,Zom Out出现故障 [ ^ ],

如何停靠按钮,以便它可以调整表格 [ ^ ]。



另请参阅: GUI外观 - C# .Net [ ^ ]。



-SA

want to resize form depending on the resolution of the monitor runtime

解决方案

I don't think it's a good idea. It's much better to develop fluent form design highly tolerant to window size and of course screen size in pixels (jargon calls it "resolution", but real resolution is something different).

This is not too hard to do, just the opposite, it would also improve maintenance of your projects and streamline UI design and development, at in terms of layout and related aspects. Please see my past answers:
Zom Out malfunctions when Screen resolution changes[^],
how to dock button so that it can adjust with the form[^].

See also: GUI Apperance - C#.Net[^].

—SA


这篇关于想要根据监视器运行时的分辨率调整窗体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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