Esempio n. 1
0
        private void btnTaiKhoan_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmTaiKhoan frm = new frmTaiKhoan();

            frm.ShowDialog();
            this.Dispose();
        }
Esempio n. 2
0
 private void btnTaiKhoan_Click(object sender, EventArgs e)
 {
     if (TK == null || TK.IsDisposed)
     {
         TK           = new frmTaiKhoan();
         TK.MdiParent = this;
         TK.Show();
     }
     else
     {
         TK.Activate();
     }
 }