Example #1
0
 private void oKToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //if (mdi2 == null)
     //{
     mdi2 = new MDI2();
     //mdi2.MdiParent = this;
     mdi2.FormClosed += new FormClosedEventHandler(mdi2_FormClosed);
     mdi2.Show();
     //}
     //else mdi2.Activate();
 }
Example #2
0
 private void mdi2_FormClosed(object sender, FormClosedEventArgs e)
 {
     mdi2 = null;
 }