示例#1
0
 private void editAnEmployeeInformationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (uei == null)
     {
         uei             = new updateEmployeeInformation();
         uei.MdiParent   = this;
         uei.FormClosed += uei_FormClosed;
         uei.Show();
     }
     else
     {
         uei.Activate();
     }
 }
示例#2
0
 void uei_FormClosed(object sender, FormClosedEventArgs e)
 {
     uei = null;
 }