MDI Problem

  • Thread starter Thread starter Asfar
  • Start date Start date
A

Asfar

I have C# MDI application.
In the Load event of the main form I display another widows form, form1 and
set the MdiParent to the main form.
I have a button on the child form which I click and open form2 and close
form1.

Now when I close form2 I want to come back to from1. Can some please tell me
how this be done in a MDI application.

Thanks,
-Asfar
 
I have C# MDI application.
In the Load event of the main form I display another widows form, form1 and
set the MdiParent to the main form.
I have a button on the child form which I click and open form2 and close
form1.

Now when I close form2 I want to come back to from1. Can some please tell me
how this be done in a MDI application.

Thanks,
-Asfar
Asfar,

do you show form2 only or do you dispose of form1?

Leon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Detecting active forms 6
MDI Application 1
Question on MDIchild forms 6
(Re)opening closed MDI child? 2
Mdi bug ? 9
MDI Webbrowser... 2
Main window location 4
MDI Question 1

Back
Top