D
Darin
Hi,
I am creating a MDI app that will be different from the typical mdi app (MS
Word...) The parent form will be the container for 5 different child forms
that can be only created once (intialized). I have noticed that you can
create many instances of each child form. I do not want this functionality.
I was wondering what is the best way to not allow multiple instances of each
child form. I understand I could create a collection that could keep track
and code it to look for that form in the collection. However, I thought
maybe I could use a singleton approach to each child form. Is this
possible? Any better ideas?
Thanks in advance
I am creating a MDI app that will be different from the typical mdi app (MS
Word...) The parent form will be the container for 5 different child forms
that can be only created once (intialized). I have noticed that you can
create many instances of each child form. I do not want this functionality.
I was wondering what is the best way to not allow multiple instances of each
child form. I understand I could create a collection that could keep track
and code it to look for that form in the collection. However, I thought
maybe I could use a singleton approach to each child form. Is this
possible? Any better ideas?
Thanks in advance