コード例 #1
0
 public void FillVehicleModifications(VehicleBrand vehicleBrand)
 {
     vehicleModifications.Clear();
     foreach (VehicleModification vehicleModification in storeService.VehicleService.GetModifications(vehicleBrand))
     {
         vehicleModifications.Add(vehicleModification);
     }
     VehicleModificationComboboxes.FillVehicleModificationComboboxes(vehicleModifications);
 }
コード例 #2
0
        public NewVehicleModificationHelper(IStoreService storeService, NewCarViewModel newCarViewModel)
        {
            this.storeService    = storeService;
            this.newCarViewModel = newCarViewModel;


            VehicleModificationComboboxes = new VehicleModificationComboboxes();
            TextsVehicleModification      = new VehicleModification();

            NewVehicleModification = new VehicleModification();

            EmtyTextsVehicleModification();
            vehicleModifications = new ObservableCollection <VehicleModification>();
        }
コード例 #3
0
 public void ClearVehicleModifications()
 {
     vehicleModifications.Clear();
     VehicleModificationComboboxes.ClearVehicleModificationComboboxes();
 }