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();
        }
示例#2
0
        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);
        }
示例#3
0
        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);
        }
示例#4
0
        private void frmThongKeSinhVienThuocPhong_Load(object sender, EventArgs e)
        {
            PhongCtrl PHGctrl = new PhongCtrl();

            PHGctrl.LayDuLieuLenComboBox(cmbPhong);
        }