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