private void initBaseData()
        {
            userNameLabel.Text = dataFormDTO.userData.username;

            carViewController = new CarViewController();

            modelDTO = new ModelDTO();

            crud = new ModelCrud(dataFormDTO.db);

            comboBoxData = new ComboBoxDataInit(dataFormDTO.db);

            comboBoxData.addCompanies(cbCompany);
            comboBoxData.addCarTypes(cbType);
            comboBoxData.addColours(cbColour);
            comboBoxData.addCarModels(cbModel);

            comboBoxData.addCarEngines(cbEngine);

            comboBoxData.addCarEngineTypes(cbEngineType);
            comboBoxData.addCarTransmissoins(cbTransmission);

            cbAutoTrans.Items.AddRange(new string[] { "нет", "да" });
            cbAutoTrans.SelectedIndex = 0;
        }
        private void cbCompany_SelectedIndexChanged(object sender, EventArgs e)
        {
            manufacturer m = (manufacturer)cbCompany.SelectedItem;

            modelDTO.company = m.manufacturerId;

            if (m.manufacturerId == 0)
            {
                comboBoxData.addCarModels(cbModel);
                comboBoxData.addCarEngines(cbEngine);
            }
            else
            {
                cbEngine.DataSource = m.engines.ToList();
                cbModel.DataSource  = m.modelNames.ToList();
            }
        }