How to set the windows screen resolution using c# windows application -


i have done project in c# winforms. want set resolution of screen 1680 x 1050, when application run in pc. how ?

as others mentioned shouldn't change resolution automatically, cause user set specific resolution likes (or hardware works best on).

so instead of changing resolution should change application. use tablelayoutpanel, flowlayoutpanel , / or splitcontainer. set anchor , dock properties of controls , think setting minimumsize , maximumsize of each control within application.

this way application can automatically scale between different resolutions , user can take 1 likes.

last not least, application should not consider take care resolution user selected, should take care selected dpi settings. 1 should care of described in windows ux guide (site 592).


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -