From fee5958c8944ee6e88e72cec8267a6e9522a0a18 Mon Sep 17 00:00:00 2001 From: Ctepa Date: Fri, 20 Dec 2024 18:56:52 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B0=D0=B4=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Publication/Forms/FormMaterial.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Publication/Forms/FormMaterial.cs b/Publication/Forms/FormMaterial.cs index 17adc78..55d2d3f 100644 --- a/Publication/Forms/FormMaterial.cs +++ b/Publication/Forms/FormMaterial.cs @@ -69,7 +69,7 @@ MessageBoxButtons.OK, MessageBoxIcon.Error); { try { - if (int.Parse(numericUpDownCount.Value.ToString()) <= 0 || dateTimePickerDateMaterial.Value.Date <= DateTime.Now || checkedListBox1.SelectedItems.Count == 0) + if (int.Parse(numericUpDownCount.Value.ToString()) <= 0 || dateTimePickerDateMaterial.Value.Date <= DateTime.Now || checkedListBox.SelectedItems.Count == 0) { throw new Exception("Имеются незаполненные поля"); }