Ejemplo n.º 1
0
 private void PopulateModelsCombobox()
 {
     cbx_models.DataSource    = vehicleModel.LoadVehicleModelsToList();
     cbx_models.DisplayMember = "Model";
     cbx_models.ValueMember   = "IdVehicleModel";
     cbx_models.SelectedValue = -1;
 }
Ejemplo n.º 2
0
 private void PopulateGrid()
 {
     grid_vehicleModels.AutoGenerateColumns = false;
     grid_vehicleModels.DataSource          = vehicleModel.LoadVehicleModelsToList();
 }