Hi,
How can I maximized a form which has minimized, on button Click event.Plz, help.
Thanks.
How to maximaized window form
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Oct 13, 2011, 9:35 AM EDT
if (this.WindowState == FormWindowState.Minimized)
{
this.WindowState = FormWindowState.Maximized;
}
Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 13, 2011, 9:35 AM EDT
Please do not forget to mark "Accepted Answer".
VulpesRank #55 · 29.2K reputationPosted Oct 13, 2011, 9:39 AM EDT
Do you mean to maximize a different form, say Form2?
Form2 form2 = (Form2)Application.OpenForms["Form2"]; // unless you already have a reference to Form2