private void Add_button_Click(object sender, EventArgs e)
        {
            ReloadCarriersRepairs();
            AddEditCarrierRepairForm AddCarrierRepair = new AddEditCarrierRepairForm(dataSet.CarriersRepairs,
                                                                                     dataSet.ServiceMasters, dataSet.Carriers, null);

            AddCarrierRepair.Text = "Добавление ремонта ТС";
            this.Enabled          = false;
            AddCarrierRepair.ShowDialog();
            if (AddCarrierRepair.DialogResult == DialogResult.OK)
            {
                dataSet = BusinessLogic.WriteCarriersRepairs(dataSet);
                ReloadCarriersRepairs();
            }
            this.Enabled = true;
        }
        private void Edit_button_Click(object sender, EventArgs e)
        {
            LastSelectionIndex = CarriersRepairs_dataGridView.SelectedRows[0].Index;
            ReloadCarriersRepairs();
            AddEditCarrierRepairForm EditCarrierRepair = new AddEditCarrierRepairForm(dataSet.CarriersRepairs,
                                                                                      dataSet.ServiceMasters, dataSet.Carriers,
                                                                                      dataSet.CarriersRepairs.Rows.Find(CarriersRepairs_dataGridView.SelectedRows[0].Cells["ID"].Value));

            EditCarrierRepair.Text = "Редактирование ремонта ТС";
            this.Enabled           = false;
            EditCarrierRepair.ShowDialog();
            if (EditCarrierRepair.DialogResult == DialogResult.OK)
            {
                dataSet = BusinessLogic.WriteCarriersRepairs(dataSet);
                ReloadCarriersRepairs();
            }
            this.Enabled = true;
        }