Beispiel #1
0
 private void loadVehicleCombo(ComboBox cbo)
 {
     cbo.DataSource    = counts.FillVehicleCombo();
     cbo.DisplayMember = "RadioId";
     cbo.ValueMember   = "Id";
     cbo.SelectedValue = 0;
 }
Beispiel #2
0
 private void loadVehicleCombo(Counts count)
 {
     cboVehicle.DataSource    = count.FillVehicleCombo();
     cboVehicle.DisplayMember = "RadioId";
     cboVehicle.ValueMember   = "Id";
     cboVehicle.SelectedValue = currentCrew.Vehicle;
 }