From ab55cec4ef28dfb89ecc7666c2464323d5519013 Mon Sep 17 00:00:00 2001 From: Pipiaka Date: Sat, 14 Dec 2024 19:59:25 +0400 Subject: [PATCH] =?UTF-8?q?=D0=90=D0=90=D0=90=D0=90=D0=90=D0=90=D0=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Accounting-Time-It-Company/Forms/FormTypeJob.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Accounting-Time-It-Company/Accounting-Time-It-Company/Forms/FormTypeJob.cs b/Accounting-Time-It-Company/Accounting-Time-It-Company/Forms/FormTypeJob.cs index 1796474..2b77951 100644 --- a/Accounting-Time-It-Company/Accounting-Time-It-Company/Forms/FormTypeJob.cs +++ b/Accounting-Time-It-Company/Accounting-Time-It-Company/Forms/FormTypeJob.cs @@ -42,7 +42,7 @@ namespace Accounting_Time_It_Company.Forms throw new Exception("Имеются незаполненные поля"); } - _typeJobRepositories.CreateTypeJob(TypeJob.CreateOperation(0, (int)comboBoxProduct.SelectedIndex!, comboBoxDirector.SelectedIndex!, textBoxDescriptoin.Text, + _typeJobRepositories.CreateTypeJob(TypeJob.CreateOperation(0, (int)comboBoxProduct.SelectedValue!, comboBoxDirector.SelectedValue!, textBoxDescriptoin.Text, (int)numericUpDownAllowanceForJob.Value, CreateListWorkTimeFromDataGrid(dataGridViewDevelops), CreateListWorkTimeFromDataGrid(dataGridViewManagers)));