From ef4c5aa6fccc9d3a711f322d25f90cd914d4cfe6 Mon Sep 17 00:00:00 2001 From: qkrlnt Date: Fri, 13 Dec 2024 11:43:44 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B5=D0=BC=D0=BD=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20=D1=84?= =?UTF-8?q?=D0=BE=D1=80=D0=BC=D1=83=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=B0=D0=B2=D1=82=D0=BE=D0=BC=D0=BE=D0=B1?= =?UTF-8?q?=D0=B8=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FuelAccounting/FuelAccounting/Forms/FormCar.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FuelAccounting/FuelAccounting/Forms/FormCar.cs b/FuelAccounting/FuelAccounting/Forms/FormCar.cs index 7ef1a7f..4ad9c6a 100644 --- a/FuelAccounting/FuelAccounting/Forms/FormCar.cs +++ b/FuelAccounting/FuelAccounting/Forms/FormCar.cs @@ -24,7 +24,7 @@ namespace FuelAccounting.Forms textBoxModel.Text = car.Model; comboBoxCategory.SelectedItem = car.Category; - comboBoxDriverId.SelectedItem = car.DriverID; + comboBoxDriverId.SelectedValue = car.DriverID; _carId = value; } catch (Exception ex)