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

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