Esempio n. 1
0
        public SearchForm()
        {
            InitializeComponent();
            bllSB = new SanBayBLL();
            bllCB = new ChuyenBayBLL();

            cbSanBayDen.DataSource    = bllSB.getSanBay();
            cbSanBayDen.DisplayMember = "TenSanBay";
            cbSanBayDi.DataSource     = bllSB.getSanBay();
            cbSanBayDi.DisplayMember  = "TenSanBay";

            dpNgayGio.Value = DateTime.Now;
        }
Esempio n. 2
0
        public ReservateForm()
        {
            InitializeComponent();
            bllPDC = new PhieuDatChoBLL();
            bllTS  = new ThamSoBLL();
            bllDSG = new DanhSachGheBLL();
            bllCB  = new ChuyenBayBLL();

            lbNotify.Visible  = false;
            lbNotify1.Visible = false;

            cbHangVe.DisplayMember = "HangVe";
            cbHangVe.ValueMember   = "TiLe";
        }
Esempio n. 3
0
        public TicketForm()
        {
            InitializeComponent();
            ShowTicket();
            bllDSG = new DanhSachGheBLL();
            bllCB  = new ChuyenBayBLL();
            bllVCB = new VeChuyenBayBLL();
            bllPDC = new PhieuDatChoBLL();
            bllTS  = new ThamSoBLL();

            lbNotify.Visible  = false;
            lbNotify1.Visible = false;

            cbHangVe.DisplayMember = "HangVe";
            cbHangVe.ValueMember   = "TiLe";

            cbTrangThai.Text = "Chưa thanh toán";

            LockCotrol();
        }