How to avoid duplicate form creation in .net winform?

Posted by Ayyappan.Anbalagan on Stack Overflow See other posts from Stack Overflow or by Ayyappan.Anbalagan
Published on 2010-06-11T13:46:47Z Indexed on 2010/06/11 13:52 UTC
Read the original article Hit count: 217

Filed under:
|
|
|

i am using .net win forms my mdi parent form contains the menu. If clicked the menu the form will be displayed. Up to now no problem. >

        UserForm uf = new UserForm();

        uf.Show();

        uf.MdiParent = this;

If i click the menu again another duplicate of the form created how to solve this issue?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET