Exemple #1
0
 private void عمالالمغسلةToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (wm == null)
     {
         wm             = new WM_Worker();
         wm.MdiParent   = this;
         wm.FormClosed += new FormClosedEventHandler(wm_FormClosed);
         wm.Show();
     }
     else
     {
         wm.Activate();
     }
 }
Exemple #2
0
 void wm_FormClosed(object sender, FormClosedEventArgs e)
 {
     //throw new NotImplementedException();
     wm = null;
 }