Windows
The WindowState property specifies how the window is first displayed. The state can be:
Select the desired state from the WindowState drop-down list on the Position tab page of the window’s Properties view.
You cannot specify the initial state of the window before it has been opened. You can change its display state afterwards while the window is open.
The WindowState property takes a value of the WindowState enumerated datatype. The following line sets the Maximized state for the current window:
This.WindowState = Maximized!