Click here to Skip to main content
13,055,047 members (74,087 online)
Click here to Skip to main content

Tagged as

Stats

3.2K views
1 bookmarked
Posted 20 Sep 2011

Single Instance Form in a MDI application

, 20 Sep 2011
Assuming you only want a single instance of a form type, I'd suggest you add a Dictionary(Of Type, Form). ShowOrActiveForm would have a single parameter of Type and would be a subroutine.The Form object could be found based on a ContainsKey. The rest of the ShowOrActiveForm function would be...
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Ctznkane
United States United States
No Biography provided

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 20 Sep 2011
Article Copyright 2011 by Ctznkane
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid