示例#1
0
        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();
        }
示例#3
0
        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);
 }