Click here to Skip to main content
16,008,750 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello

iam creating one c# mdiapplication in windows

after create my application , that exe file showing child form off part only.

ithink we must set defualt or exact resolution to our form

how to set default resolutions to our child form in mdi application.

any one give any example code for set exact resolution for mdiapplication child form.
Posted
Comments
Sergey Alexandrovich Kryukov 22-Nov-11 18:58pm    
Are you sure you mean "resolution"? In computer pixel graphics, this is how dot-per-inch (pixel size) is called.
--SA

1 solution

You can't set the DPI (the DPI setting is OS-wide and set by the user). What you can do is make adjustments to your layout based on the DPI, for example see this StackOverflow thread[^].

See here[^] for more information about what .Net does for you automatically.
 
Share this answer
 

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