public static EmployeeManagementForm GetForm()
        {
            if (frm == null)
            {
                frm = new EmployeeManagementForm();
            }

            return(frm);
        }
Esempio n. 2
0
        private void menuManager_DoubleClick(object sender, EventArgs e)
        {
            EmployeeManagementForm empManageFrm = EmployeeManagementForm.GetForm();

            empManageFrm.Show();
        }
 private void EmployeeManagementForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     frm = null;
 }