Esempio n. 1
0
 private void ProductEditor_Load(object sender, EventArgs e)
 {
     brandsBindingSource.DataSource       = BrandList.GetBrandList();
     productTypesBindingSource.DataSource = ProductTypeList.GetProductTypeList();
     BindProductType();
     modelsBindingSource.DataSource = ModelList.GetModelList();
 }
        private void CarEditForm_Load(object sender, EventArgs e)
        {
            ProducingCountryList _prodList = ProducingCountryList.GetProducingCountryList();

            producingCountryListBindingSource.DataSource = _prodList;

            BrandList _brList = BrandList.GetBrandList();

            brandListBindingSource.DataSource = _brList;

            carInfoBindingSource.DataSource      = _newCar;
            carDriveListBindingSource.DataSource = null;
            _listCaDrive = CarDriveList.GetCarDrive(_newCar.CarID);
            carDriveListBindingSource.DataSource = _listCaDrive;
        }
Esempio n. 3
0
        private void CarForm_Load(object sender, EventArgs e)
        {
            BrandList brandList = BrandList.GetBrandList();

            brandListBindingSource.DataSource = brandList;
        }