Пример #1
0
 private void moduleslbl_Click(object sender, EventArgs e)
 {
     if (modules == null)
     {
         modules             = new amodules();
         modules.MdiParent   = this;
         modules.FormClosed += Modules_FormClosed;
         modules.Show();
     }
     else
     {
         modules.Activate();
     }
 }
Пример #2
0
 private void Modules_FormClosed(object sender, FormClosedEventArgs e)
 {
     modules = null;
     //throw new NotImplementedException();
 }