Dear Friends!
Hi, I wrote a application in C# ( Win Forms ) , I test it many times in my PC with no Errors!
but when I test it in some PCs or Laptops I see design's of my forms are Wrong! I mean in different resolutions my form's design are
disorganization.
what can I do to Fix form design in different Resolutions?
thank you

Fred Thorp and Joe KingPosted Dec 11, 2014, 11:37 AM
Selva GanapathyPosted Dec 9, 2014, 7:41 AM
Hi Hamed,
Please set "AutoScaleMode" Property of the form in to none as below
this.AutoScaleMode = AutoScaleMode.None;
http://msdn.microsoft.com/en-us/library/system.windows.forms.containercontrol.autoscalemode(v=vs.110).aspx
Regards,
Selva Ganapathy K
Wim SturkenboomPosted Dec 9, 2014, 12:16 AM
It's always the best to design for the smallest resolution. 800x600 should be a safe bet, 1024x768 should be ok as well; take into account the taskbar so vertical should be a little smaller. If the data does not fit, make use of e.g. tab pages or mdi.
Also advise users of the minimum required resolution.
Wim SturkenboomPosted Dec 9, 2014, 12:09 AM
Best option for this to set margin padding 0px OR 0% for body.
Secondary you can use bootstrap styling for overcoming on resolution related issues.
[/quote]
It's a windows application, not a web application!
Vishal JadhavPosted Dec 8, 2014, 11:51 PM
Best option for this to set margin padding 0px OR 0% for body.
Secondary you can use bootstrap styling for overcoming on resolution related issues.
Thanks.