Esempio n. 1
0
 private void viewEmployeeRecordToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (objViewEmpdByDeptForm == null)
     {
         objViewEmpdByDeptForm             = new ViewEmpByDept();
         objViewEmpdByDeptForm.MdiParent   = this;
         objViewEmpdByDeptForm.FormClosed += ObjViewEmpdByDeptForm_FormClosed;
         objViewEmpdByDeptForm.Show();
     }
     else
     {
         objViewEmpdByDeptForm.Activate();
     }
 }
Esempio n. 2
0
 private void ObjViewEmpdByDeptForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     //throw new NotImplementedException();
     objViewEmpdByDeptForm = null;
 }