public static ClientPayrollRep GetInstance() { if (singleton == null) { singleton = new ClientPayrollRep(); } return(singleton); }
private void ClientPayrollRep_FormClosed(object sender, FormClosedEventArgs e) { singleton = null; }
public static ClientPayrollRep GetInstance() { if (singleton == null) { singleton = new ClientPayrollRep(); } return(singleton); }
private void ClientPayrollRep_FormClosed(object sender, FormClosedEventArgs e) { singleton = null; }