Beispiel #1
0
 private void addDepartmentToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (objAddDeptDtlsForm == null)
     {
         objAddDeptDtlsForm             = new AddDeptDtls();
         objAddDeptDtlsForm.MdiParent   = this;
         objAddDeptDtlsForm.FormClosed += ObjAddDeptDtlsForm_FormClosed;
         objAddDeptDtlsForm.Show();
     }
     else
     {
         objAddDeptDtlsForm.Activate();
     }
 }
Beispiel #2
0
 private void ObjAddDeptDtlsForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     objAddDeptDtlsForm = null;
     //throw new NotImplementedException();
 }