Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Go to top

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...

Revisions


  

Compare Revision Minor Date Status Editor
publicly available No 20-Sep-11 10:29 Available Smitha Vijayan
1 No 20-Sep-11 8:54 Composing Ctznkane

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

| Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 20 Sep 2011
Article Copyright 2011 by Ctznkane
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid