private void btnPayslip_Click(object sender, EventArgs e) { EmployeePaySlip em = EmployeePaySlip.getInstance(); em.Show(); this.Hide(); }
private void button2_Click(object sender, EventArgs e) { EmployeePaySlip empslip = EmployeePaySlip.getInstance(); empslip.Show(); panel1.Hide(); }
private void btndashboard_Click(object sender, EventArgs e) { EmployeePaySlip ems = EmployeePaySlip.getInstance(); ems.Show(); this.Hide(); }
public static EmployeePaySlip getInstance() { if (uniqueInstance == null) { uniqueInstance = new EmployeePaySlip(); } return(uniqueInstance); }