Hello ,
How to minimize opened secondForm(from showDialog) to taskbar?When try minimize it minimize all,parent form and second form.
Thanks in advance.
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 May 7, 2014, 5:54 AM EDT
and you then minimize Form2, it shouldn't cause the first form to be minimized as well.
It should still be open but inaccessible until Form2 is closed.
However, if you have other windows open on the desktop (such as VS itself) you might find that it's now below them in the z-order.
If that's the case, then insert this line before the above code to keep it on top:
this.TopMost = true;