private void Form1_Load(object sender, EventArgs e) { //SinhVien -> TraCuu -> Phong PhongCtrl phg = new PhongCtrl(); phg.LayDuLieuLenComboBoxItem(cmbQLSV_TraCuu_Phong); phg.LayDuLieuLenComboBoxItem(cmbQLPhong_DanhGiaPhong); phg.LayDuLieuLenComboBoxItem(cmb_QLPHG_ThongKe_Phong); //----------------------------- //SinhVien -> TraCuu -> Phong DayCtrl day = new DayCtrl(); day.LayDuLieuLenComboBoxItem(cmbQLSV_TraCuu_Day); day.LayDuLieuLenComboBoxItem(comboBoxItem15); //----------------------------- //SinhVien -> TraCuu -> Phong // cmbQLSV_ThongKe.Items.AddRange(new string[] { "Phòng", "Dãy", "KTX" }); //----------------------------- // tat cua so FlaskScreen VoHieuHoa(); FormChung.flash.Dispose(); }
private void cmbDay_SelectionChangeCommitted(object sender, EventArgs e) { PhongCtrl phongCtrl = new PhongCtrl(); phongCtrl.LayDuLieuLenComboBox_DK_DAY(cmbPhong, cmbDay.SelectedValue.ToString()); DiemDanhCtrl diemdanhCtrl = new DiemDanhCtrl(); diemdanhCtrl.Tim_DiemDanh_Dk_Day(dtDanhSach, cmbDay); }
private void frmDiemDanhSinhVien_Load(object sender, EventArgs e) { KTXCtrl ctrlKTX = new KTXCtrl(); ctrlKTX.LayDSKTXLenComboBox(cmbKTX); PhongCtrl ctrlPhong = new PhongCtrl(); ctrlPhong.LayDuLieuLenComboBox(cmbPhong); DayCtrl ctrlDay = new DayCtrl(); ctrlDay.LayDuLieuLenComboBox(cmbDay); }
private void frmThongKeSinhVienThuocPhong_Load(object sender, EventArgs e) { PhongCtrl PHGctrl = new PhongCtrl(); PHGctrl.LayDuLieuLenComboBox(cmbPhong); }