public FormAddCar() { InitializeComponent(); _carController = new CarController(); _brandController = new BrandController(); _modelController = new ModelController(); FormUtils.AddBrandToList(ref comboBoxBrand, ref _brandController); }
public FormCarListClient() { InitializeComponent(); btnSearch.Image = Image.FromFile(_filePath); _brandController = new BrandController(); _modelController = new ModelController(); FormUtils.AddBrandToList(ref comboBoxBrands, ref _brandController); FormUtils.AddCarsToListView(lvCarList); }