Example #1
0
 private void mDI1ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (md1 == null)
     {
         md1             = new frm_mdi1();
         md1.MdiParent   = this;
         md1.FormClosed += new FormClosedEventHandler(md1_closed);
         md1.Show();
     }
     else
     {
         md1.Activate();
     }
 }
Example #2
0
 public void md1_closed(object sender, FormClosedEventArgs e)
 {
     md1 = null;
 }