How do I maximize a form????????

  • Thread starter Thread starter Susan
  • Start date Start date
S

Susan

I am currently hiding a form until a key is pressed (I am
using the command "this.Hide();" to hide the form). When
that key is pressed, I am once again showing this form,
with the command "container.Show();". My problem is that
when I do this, it always brings up the form in a
minimized state, causing the user to have to click on it
at the bottom in the task bar. I need to have that form
open as normal, or maximized. I tried using the
command "container.WindowState =
FormWindowState.Maximized;" but that just isn't doing it
for me. Can anyone help. I am sure it is stupidly
simple, but I just can't get it to work.
Thanks
 
Back
Top