private void clientInfoToolStripMenuItem_Click(object sender, EventArgs e) { ClientPayroll ci = ClientPayroll.GetInstance(); ci.MdiParent = this; ci.Show(); }
public static ClientPayroll GetInstance() { if (singleton == null) { singleton = new ClientPayroll(); } return(singleton); }
private void ClientInfo_FormClosed(object sender, FormClosedEventArgs e) { singleton = null; }