private void barbtnThem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (IDDM_Lop > 0)
     {
         pKQHT_CongThucDiemInfo = new KQHT_CongThucDiemInfo();
         dlgCongThucDiem dlg = new dlgCongThucDiem(dtCongThuc, null, EDIT_MODE.THEM, IDDM_Lop);
         dlg.ShowDialog();
     }
 }
 private void barbtnSua_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (drCongThuc != null)
     {
         pKQHT_CongThucDiemInfo = new KQHT_CongThucDiemInfo();
         oBKQHT_CongThucDiem.ToInfo(ref pKQHT_CongThucDiemInfo, drCongThuc);
         dlgCongThucDiem dlg = new dlgCongThucDiem(dtCongThuc, drCongThuc, EDIT_MODE.SUA, IDDM_Lop);
         dlg.ShowDialog();
     }
 }