示例#1
0
 private void المساحيقToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (det == null)
     {
         det             = new detergentForm();
         det.MdiParent   = this;
         det.FormClosed += new FormClosedEventHandler(det_FormClosed);
         det.Show();
     }
     else
     {
         det.Activate();
     }
 }
示例#2
0
 void det_FormClosed(object sender, FormClosedEventArgs e)
 {
     //throw new NotImplementedException();
     det = null;
 }