I'm developing an application with Visual Studio 2010 on Win8. Everything works fine. When I install this application on my laptop running Win7 the form is resized. I display the following in a MessageBox in the Load event handler:
int w = this.Size.Width;
int h = this.Size.Height;
Thinking the problem is a display resolution issue (they are different) I resize the display resolution on the Win8 desktop. Still works fine. The form is not resized.
I updated the laptop from .NET Framework 4.0 to 4.5. This did not change the behavior.
The end result is I am unable to get the form to display in the same pleasing way on the Win7 laptop as it does on the Win8 desktop.
Any suggestions would be appreciated. Thanks.