Exemple #1
0
        private void clientInfoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ClientPayroll ci = ClientPayroll.GetInstance();

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