예제 #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();
     }
 }
예제 #2
0
 private void ObjViewEmpdByDeptForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     //throw new NotImplementedException();
     objViewEmpdByDeptForm = null;
 }