Maximize a Form Size

W

Wayne Wengert

I want to maximize a form's size when it is loaded. I have been googling and
experimenting with what I found but I cannont seem to find the right syntax.
I have been trying something like the following in the form load event but,
as I said, I can't get the syntax right?

System.Windows.Forms.Me = FormWindowState.Maximized
 
H

Herfried K. Wagner [MVP]

Wayne Wengert said:
I want to maximize a form's size when it is loaded.

\\\
Me.WindowState = FormWindowState.Maximized
///

Alternatively you can set the property 'WindowState' to 'Maximized' at
design time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top