示例#1
0
        private void LoadtatCa()
        {
            lUpTenPhong.Properties.DataSource    = pBUS.LoadPhong();
            lUpTenPhong.Properties.DisplayMember = "TenPhong";
            lUpTenPhong.Properties.ValueMember   = "MaPhong";

            lUPCa.Properties.DataSource    = ca.LoadCa();
            lUPCa.Properties.DisplayMember = "TenCa";
            lUPCa.Properties.ValueMember   = "MaCa";

            lUPtenPhim.Properties.DataSource    = phim.LoadPhim();
            lUPtenPhim.Properties.DisplayMember = "TenPhim";
            lUPtenPhim.Properties.ValueMember   = "MaPhim";

            gcLichCHieu.DataSource = lich.LoadLich();

            LueTenPhim.DataSource = phim.LoadPhim();
            LueTenPhog.DataSource = pBUS.LoadPhong();
            LueMaCa.DataSource    = ca.LoadCa();

            dtpGioBatDau.Format        = DateTimePickerFormat.Custom;
            dtpGioBatDau.CustomFormat  = "HH:mm";
            dtpGioBatDau.ShowUpDown    = true;
            dtpGioKetThuc.Format       = DateTimePickerFormat.Custom;
            dtpGioKetThuc.CustomFormat = "HH:mm";
            dtpGioKetThuc.ShowUpDown   = true;
        }
示例#2
0
 private void Loadve()
 {
     gcVe.DataSource        = ve.LoadVe();
     lUpTenPhim.DataSource  = phim.LoadPhim();
     lUpTenPhong.DataSource = phong.LoadPhong();
     lUPTenTV.DataSource    = tv.LoadTV();
 }
示例#3
0
        private void LoadDSPhim()
        {
            PhimBUS phim = new PhimBUS();

            lsPhim = phim.LoadPhim();
        }