public frmChuongTrinhDaoTao() { InitializeComponent(); oBKQHT_ChuongTrinhDaoTao = new cBwsKQHT_ChuongTrinhDaoTao(); pKQHT_ChuongTrinhDaoTaoInfo = new KQHT_ChuongTrinhDaoTaoInfo(); oBKQHT_CTDT_ChiTiet = new cBwsKQHT_CTDT_ChiTiet(); pKQHT_CTDT_LopInfo = new KQHT_CTDT_LopInfo(); oBKQHT_CTDT_Lop = new cBwsKQHT_CTDT_Lop(); SetButton(false); }
public dlgCacMonChuaToChuc(int KQHT_ChuongTrinhDaoTaoID, int DM_LopID, int CTDT_HocKy) { InitializeComponent(); pKQHT_CTDTInfo = new KQHT_ChuongTrinhDaoTaoInfo(); oBKQHT_CTDT = new cBwsKQHT_ChuongTrinhDaoTao(); repositoryThiMonKhung.DataSource = LoadHinhThucThi(); DataTable dtTemp = oBKQHT_CTDT.GetMonChuaToChuc(KQHT_ChuongTrinhDaoTaoID, DM_LopID, CTDT_HocKy); if (dtTemp != null) { grdMonKhung.DataSource = dtTemp; } }
public frmMonHocTrongKy() { InitializeComponent(); IDKQHT_ChuongTrinhDaoTao = 0; oBDM_Lop = new cBwsDM_Lop(); pDM_LopInfo = new DM_LopInfo(); oBCTDT = new cBwsKQHT_ChuongTrinhDaoTao(); oBXL_MonHocTrongKy = new cBwsXL_MonHocTrongKy(); cmbHocKy.Properties.Items.Add(Program.HocKy); cmbNamHoc.Properties.Items.Add(Program.NamHoc); cmbNamHoc.SelectedIndex = 0; cmbHocKy.SelectedIndex = 0; repositoryThiMonKhung.DataSource = LoadHinhThucThi(); repositoryThiMonKy.DataSource = LoadHinhThucThi(); }