示例#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();
     }
 }
示例#2
0
文件: frmMain.cs 项目: aguedu/PETFTMS
 private void btnTaiKhoan_Click(object sender, EventArgs e)
 {
     if (fTK == null || fTK.IsDisposed)
     {
         fTK           = new frmTaiKhoan();
         fTK.MdiParent = this;
         fTK.Show();
     }
     else
     {
         fTK.Activate();
     }
 }