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.
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 May 7, 2014, 9:54 AM
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;