如何使用Windows窗体使窗口的大小对每种类型的屏幕分辨率都具有响应能力 [英] How to make size of Window responsive for every type of screen resolution using Windows form
本文介绍了如何使用Windows窗体使窗口的大小对每种类型的屏幕分辨率都具有响应能力的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用Windows窗体使每种尺寸的屏幕分辨率都响应窗口大小
Make size of Window responsive for every type of screen resolution using Windows form
推荐答案
强烈建议使用 Windows窗体中的自动缩放功能一个>.但是,一般而言,WPF是更好的选择.
It is strongly recommended using WPF because it is a much better choice for that. You can use of the Anchor
and Dock
properties of Controls
on a Windows Form to achieve proper placement on different resolution but the result is not satisfactory. Also you can use Automatic Scaling in Windows Forms. However, in general WPF is much better choice.
这篇关于如何使用Windows窗体使窗口的大小对每种类型的屏幕分辨率都具有响应能力的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文