Example #1
0
        private void ucPhong_Load(object sender, EventArgs e)
        {
            //  timer1.Start();
            _db = new BLL_LoaiThietBi(cls_Main.duongdanfileketnoi);
            _th = new BLL_TruongHoc(cls_Main.duongdanfileketnoi);
            _tb = new BLL_ThietBi(cls_Main.duongdanfileketnoi);
            LoadDanhSachTruong(ref err, cbTruongHoc);

            DanhSachPhongLoad();
            DanhSachTruongLoadAll();
        }
Example #2
0
 private void LoaiThietBi_Load(object sender, System.EventArgs e)
 {
     panel1.Visible = true;
     //  panel1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(128)));
     timer1.Start();
     timer2.Start();
     _db = new BLL_LoaiThietBi(cls_Main.duongdanfileketnoi);
     _th = new BLL_TruongHoc(cls_Main.duongdanfileketnoi);
     _tb = new BLL_ThietBi(cls_Main.duongdanfileketnoi);
     LoaiThietBiLoad();
     LoadDanhSachTruong(ref err, cbtruonghoc);
     cbtruonghoc.SelectedIndex = -1;
 }
Example #3
0
        private void ThietBi_Load(object sender, EventArgs e)
        {
            _tbb = new BLL_ThietBi(cls_Main.duongdanfileketnoi);
            _db  = new BLL_LoaiThietBi(cls_Main.duongdanfileketnoi);
            _th  = new BLL_TruongHoc(cls_Main.duongdanfileketnoi);

            cbphonghoc.SelectedIndex = -1;
            cboLoaitb.SelectedIndex  = -1;
            load();
            LoadDanhSachPhong(ref err, cbphonghoc);

            var thietbilichsu = new ucLoadDanhSachLichSu();

            cls_Main.LoadUserControl3(cls_Controls.pncontrol, thietbilichsu);
        }