Hi,
I am working with windows form. When i am trying open the created winform application in 1024x768 resolution, it is not fitting to the screen. To view the full screen i need to move .Is there any way to fit the screen in all resolution. Any Simple fixes ?
Thanks
Sunil Babu M
Loading
Sunil Babu MPosted Nov 25, 2014, 8:57 AM
Problem still exists. Its adjusting the height and width, but content inside windows is not scaling.
Thanks
Sunil Babu M
Selva GanapathyPosted Nov 24, 2014, 11:51 PM
Hi Sunil Babu,
Please check the Form's "AutoScaleMode" property if it is "Font" then set as None. as below
//
// Form1
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
Regards,
Selva Ganapathy K
Sunil Babu MPosted Nov 24, 2014, 11:26 PM
Thanks for your reply. I am able set the window height ans width depends on the widows resolution, using the code you mentioned above.But the issue is the content in side the window is not fit in the screen when we change the height and with. How we can solve this issue ?
Thanks
Sunil Babu M
Joginder BangerPosted Nov 24, 2014, 2:33 PM
it is possible first of all get a current monitor size like this type
after that apply your form.