Search code examples
c#winformsscreen-resolution

Window form standard form size


I am using VS 2008, I have done some form designing, but I have a problem with a form not set in a proper manner.

Only half a form is displayed on the screen. My screen resolution is 1280*800 and I want to set my window form size to a fixed size for every screen resolution, how do I do that?


Solution

  • You can set the System.Windows.Forms.Form.WindowState property to FormWindowState.Maximized or use Automatic Scaling in Windows Forms