使用C#更改系统分辨率 [英] Change system resolution using C#

查看:262
本文介绍了使用C#更改系统分辨率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用c#更改系统分辨率.

I want to change system resolution using c#.

推荐答案

对接当然可以提供帮助.只需在控件的属性"中查看,您希望如何独立于分辨率并设置停靠,然后在窗体显示时控件也会自动调整大小.
有关更多信息,请参见此CP文章;
Anchoring, Docking Windows窗体中控件的属性:
使用锚固和对接属性 [ ^ ]

锚定和停靠子控件 [锚定和停靠子控件 [当屏幕分辨率改变时,Zom Out发生故障 [ ^ ]
GUI外观-C#.Net [如何停靠按钮,以便它可以使用以下格式进行调整 [
Docking can help of course. Just look in the Properties of the control how you want to be resolution independent and set the docking, then the control automatically resizes too when the form does.
For more please see this CP article;
Anchoring, Docking Properties of Controls in Windows Forms:
Working with Anchoring and Docking Properties[^]

Anchor and Dock Child Controls[^]
Anchor and Dock Child Controls[^]

Also have look on similar discussions, you will get surely needful from them:
Zom Out malfunctions when Screen resolution changes[^]
GUI Apperance - C#.Net[^]
how to dock button so that it can adjust with the form[^]




此链接将帮助您...

http://msdn.microsoft.com/en-us/library/system. windows.forms.screen.aspx [ ^ ]

动态屏幕分辨率 [
Hi,

This Links will help you...

http://msdn.microsoft.com/en-us/library/system.windows.forms.screen.aspx[^]

Dynamic Screen Resolution[^]


这篇关于使用C#更改系统分辨率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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