public StationResponseForm()
        {
            _stationResponseService = new StationResponseBLL();
            InitializeComponent();
            responseBll    = new ResponseBLL();
            stationBLL     = new StationBLL();
            vehicleTypeBLL = new VehicleTypeBLL();

            responses    = responseBll.GetAll();
            stations     = stationBLL.GetAll();
            vehicleTypes = vehicleTypeBLL.GetAll();

            cmbResponseId.DataSource    = responses;
            cmbStationId.DataSource     = stations;
            cmbVehicleTypeId.DataSource = vehicleTypes;
        }
Esempio n. 2
0
 private void RefreshResponseList()
 {
     dgvResponseList.DataSource = _responseService.GetAll();
 }