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"; }
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(); }
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(); }