Maximize Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If my application gets minimized, how can I maximize it again?
Mark
 
Set the WindowState property of the Form to Maximized:

ofrm.WindowState = FormWindowState.Maximized

hope that helps..
Imran.
 
Mark said:
If my application gets minimized, how can I maximize it again?

Add a handler to the form's 'Resize' event:

\\\
If Me.WindowState = FormWindowState.Minimized Then
Me.WindowState = FormWindowState.Maximized
End If
///
 

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

Back
Top