private void button3_Click(object sender, EventArgs e) { frmPaySlip l = frmPaySlip.getInstance(); l.Show(); //this.Hide(); }
public static frmPaySlip getInstance() { if (l == null) { l = new frmPaySlip(); l.Show(); return(l); } else { return(l); } }