1

I am in Visual Studio and am trying to make a Form1 the size of the entire screen. How do I code this, and where do I put it in the code? Or, how could I enter it in the properties?

House
  • 309
  • 3
  • 9
  • A [related post](https://stackoverflow.com/questions/505167/how-do-i-make-a-winforms-app-go-full-screen) should help. – Axel Kemper May 27 '17 at 16:56

1 Answers1

0

In design time you can do it as shown below with red arrow and choosing the Maximized option from the dropdown:

Window State of Forms

In code you can do it like this:

this.WindowState = FormWindowState.Maximized;
CodingYoshi
  • 25,467
  • 4
  • 62
  • 64