I have a window form and here its main property
- windows state to
maximized
- Auto size
true
and - AutoSizeMode set to
GrowAndShrink
It is working fine (opening in maximized size, fit according to screen) in my PC but when i am trying this application into another PC the form size opening in large size. It is maximized but its controls are in large size. Whats i am doing wrong?
Remember there are two screens attached and I have precisely mention (in Form load event) to my form that it open in specfic screen using this code snippet.
int displayScreen = GetScreenNumber();
this.Location = Screen.AllScreens[displayScreen].WorkingArea.Location;