Exemplo n.º 1
0
        private void btnPayslip_Click(object sender, EventArgs e)
        {
            EmployeePaySlip em = EmployeePaySlip.getInstance();

            em.Show();
            this.Hide();
        }
Exemplo n.º 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            EmployeePaySlip empslip = EmployeePaySlip.getInstance();

            empslip.Show();
            panel1.Hide();
        }
Exemplo n.º 3
0
        private void btndashboard_Click(object sender, EventArgs e)
        {
            EmployeePaySlip ems = EmployeePaySlip.getInstance();

            ems.Show();
            this.Hide();
        }
Exemplo n.º 4
0
 public static EmployeePaySlip getInstance()
 {
     if (uniqueInstance == null)
     {
         uniqueInstance = new EmployeePaySlip();
     }
     return(uniqueInstance);
 }