Beispiel #1
0
 public static void HienThiTaiKhoan()
 {
     if (m_FrmTaiKhoan == null || m_FrmTaiKhoan.IsDisposed)
     {
         m_FrmTaiKhoan           = new frmTaiKhoan();
         m_FrmTaiKhoan.MdiParent = frmMain.ActiveForm;
         m_FrmTaiKhoan.Show();
     }
     else
     {
         m_FrmTaiKhoan.Activate();
     }
 }
Beispiel #2
0
 private void btnTaiKhoan_Click(object sender, EventArgs e)
 {
     if (fTK == null || fTK.IsDisposed)
     {
         fTK           = new frmTaiKhoan();
         fTK.MdiParent = this;
         fTK.Show();
     }
     else
     {
         fTK.Activate();
     }
 }