MDI duplicate child form problem. 
Author Message
 MDI duplicate child form problem.

How do I detect whether a child form already loaded? So,
if a child form is already loaded, by clicking on the load
form button would bring the loaded child form to focus
instead of opening a duplicate child form.

Here is my load button click event :-

MyForm childForm = new MyForm();
childForm.MdiParent = this.MdiParent;
childForm.Show();      

I tried  :-

if(childForm != null)
but still the same, if possible, please give some sample
codes.

Thanks for your time.



Wed, 30 Mar 2005 12:00:29 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. How develop MDI application with child forms like VB MDI and Child forms

2. DataView filter not working in MDI child forms with reference to MDI parent DataSet

3. How develop MDI form with child forms

4. How to let parent form listening MDI child Form

5. MDI child form problem

6. Opening a new MDI child when no MDI Child exists

7. Opening a new MDI child from a MDI Child

8. DataView not working with referenced DataSet in MDI child forms

9. MDI child form disables all its objets?

10. MDI Forms Child getting parent Info

11. moving an MDI child form to the desktop and vice versa

12. MDI and attaching the children forms to the main one

 

 
Powered by phpBB® Forum Software