Hi,
In my window application I have taken two form as form1 and form2. There is one button on form1 to show form2 on button click event. I run the application. On button click, form2 is shown. I minimized the form2. Now I want, When I click on button then form2 get maximized. What will be code for it. plz, help me.
Thanks, In advance
How to show minimized form
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 12, 2011, 10:06 AM EDT
On Button click check the following:
if(Form2.WindowState == FormWindowState.Minimized)
{
Form2.WindowState = FormWindowState.Maximized;
Form2.TopMost = true;
}
Please do not forget to mark "Accepted Answer".