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?
Asked
Active
Viewed 185 times
1
-
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 Answers
0
In design time you can do it as shown below with red arrow and choosing the Maximized
option from the dropdown:
In code you can do it like this:
this.WindowState = FormWindowState.Maximized;

CodingYoshi
- 25,467
- 4
- 62
- 64