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
 
Back
Top