private void btnViewPayroll_Click(object sender, EventArgs e)
        {
            frmSalaryView frmSalary = frmSalaryView.getInstance();

            frmSalary.Show();
            frmSalary.BringToFront();
        }
 public static frmSalaryView getInstance()
 {
     if (instance == null || instance.IsDisposed)
     {
         instance = new frmSalaryView();
     }
     return(instance);
 }