Exemplo n.º 1
0
 public static AccountViewList GetInstance()
 {
     if (singleton == null)
     {
         singleton = new AccountViewList();
     }
     return(singleton);
 }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            AccountViewList avl = AccountViewList.GetInstance();

            avl.MdiParent = this.MdiParent;
            avl.Show();
            this.Close();
        }
Exemplo n.º 3
0
 private void AccountViewList_FormClosed(object sender, FormClosedEventArgs e)
 {
     singleton = null;
 }