c# show minimized form on close
i have form1 and form2 .. i want form2 closed event to unminimize form1
i have tried this code :
form1.WindowState = FormWindowState.Normal;
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Nov 18, 2013, 5:11 AM
Form1 form1 = (Form1)Application.OpenForms["Form1"];
mind controllPosted Nov 18, 2013, 5:17 AM
mind controllPosted Nov 18, 2013, 5:17 AM
mind controllPosted Nov 18, 2013, 5:06 AM
mind controllPosted Nov 18, 2013, 5:03 AM
Posted Nov 18, 2013, 4:55 AM
try bellow code
form1.WindowState=FormWindowState.Maximized