Exemple #1
0
        private void BusTypeForm_Load(object sender, EventArgs e)
        {
            _busTypeBusiness = new BusTypeBussiness();
            RefreshGrid();
            BusPropertyBussiness _busPropertyBLL = new BusPropertyBussiness();

            cmbBusPropertyTablo.DataSource    = _busPropertyBLL.GetAllBLL();
            cmbBusPropertyTablo.ValueMember   = "ID";
            cmbBusPropertyTablo.DisplayMember = "Name";
        }
Exemple #2
0
        private void BusRegistrationForm_Load(object sender, EventArgs e)
        {
            _busBLL = new BusBussiness();
            refreshGrid();

            cmbBusTypeID.ValueMember   = "ID";
            cmbBusTypeID.DisplayMember = "Name";
            BusTypeBussiness useBusType = new BusTypeBussiness();

            cmbBusTypeID.DataSource = useBusType.GetAllBLL();
        }
Exemple #3
0
        private void BusSeatForm_Load(object sender, EventArgs e)
        {
            _busSeatBLL = new BusSeatBussiness();
            RefreshGrid();


            cmbBusID.ValueMember   = "ID";
            cmbBusID.DisplayMember = "Name";
            BusBussiness _busBll = new BusBussiness();

            cmbBusID.DataSource = _busBll.GetAllBLL();

            cmbBusTypeID.ValueMember   = "ID";
            cmbBusTypeID.DisplayMember = "Name";
            BusTypeBussiness _busTypeBll = new BusTypeBussiness();

            cmbBusTypeID.DataSource = _busTypeBll.GetAllBLL();
        }