user225269 user225269 - 8 months ago 68 Question

max size of a form

what is the maximum size of a form. So that it will consume the whole screen.


You should use change the "WindowState" property. This will ensure the window is maximized independent of the screen resolution.

In code:

 Me.WindowState = FormWindowState.Maximized