如何自动调整,调整形式与分辨率的变化控制 [英] How to auto resize and adjust Form controls with change in resolution

查看:210
本文介绍了如何自动调整,调整形式与分辨率的变化控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到,一些应用程序更改他们的控件位置在决议尽可能多地进行调整,如果窗口最大化他们制订了以这样的方式,超过所有的GUI看起来平衡。
我的问题是,是有可能使或实施在Visual Studio此功能2010 C#?

I have noticed that some applications change their controls position to adjust them as much as possible in the resolution as possible, If window is maximized they set themselves in such a way that over all GUI looks balanced. My question is that is it possible to make or implement this functionality in Visual studio 2010 C#?

推荐答案

使用的码头属性。 <一href=\"http://www.techrepublic.com/article/manage-winform-controls-using-the-anchor-and-dock-properties/\">Here是一篇好文章。需要注意的是最大化/最小化,当这些将处理变化。这是一个有点不同,如果屏幕分辨率的变化,但它会沿着同样的想法。

Use Dock and Anchor properties. Here is a good article. Note that these will handle changes when maximizing/minimizing. That is a little different that if the screen resolution changes, but it will be along the same idea.

这篇关于如何自动调整,调整形式与分辨率的变化控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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