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

            return(frm);
        }
Ejemplo 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;
 }