private void btnMHoc_Click(object sender, EventArgs e)
 {
     frmMonHoc m_MonHoc = null;
     if (m_MonHoc == null || m_MonHoc.IsDisposed)
     {
         m_MonHoc = new frmMonHoc();
         m_MonHoc.MdiParent = frmMain.ActiveForm;
         m_MonHoc.Show();
     }
     else m_MonHoc.Activate();
     m_MonHocCtrl.HienThiDataGridViewComboBoxColumnGiaoVien(MaMonHoc);
 }
示例#2
0
 private void mônHọcToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (m_MonHoc == null || m_MonHoc.IsDisposed)
     {
         m_MonHoc = new frmMonHoc();
         m_MonHoc.MdiParent = frmMain.ActiveForm;
         m_MonHoc.Show();
     }
     else m_MonHoc.Activate();
 }