Click here to Skip to main content
15,179,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to change system resolution using c#.
Posted
Comments
Phrone 16-Jul-12 9:56am
   
Why would you like to do that?
The users screen might not support the resolution you want to change it to.

The user probably have a resolution that he likes and his hardware works best on, so why change it?
[no name] 16-Jul-12 11:01am
   
No... you do not want to do that at all.

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[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900