Beispiel #1
0
 private void ارتجاعاصنافمنموظفToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (returnFromEmployee == null)
     {
         returnFromEmployee             = new returnFromEmployee();
         returnFromEmployee.MdiParent   = this;
         returnFromEmployee.FormClosed += new FormClosedEventHandler(returnFromEmployee_FormClosed);
         returnFromEmployee.Show();
     }
     else
     {
         returnFromEmployee.Activate();
     }
 }
Beispiel #2
0
 void returnFromEmployee_FormClosed(object sender, FormClosedEventArgs e)
 {
     //throw new NotImplementedException();
     returnFromEmployee = null;
 }