From 90437340b3bbf340457bf69e84ab6fb0161034f0 Mon Sep 17 00:00:00 2001 From: Pipiaka Date: Sat, 7 Dec 2024 22:02:38 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B9=D0=BC=D0=B0=D0=BB=D1=8C=20?= =?UTF-8?q?=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Accounting-Time-It-Company/Forms/FormProduct.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Accounting-Time-It-Company/Accounting-Time-It-Company/Forms/FormProduct.cs b/Accounting-Time-It-Company/Accounting-Time-It-Company/Forms/FormProduct.cs index bb4c7af..96eb278 100644 --- a/Accounting-Time-It-Company/Accounting-Time-It-Company/Forms/FormProduct.cs +++ b/Accounting-Time-It-Company/Accounting-Time-It-Company/Forms/FormProduct.cs @@ -88,7 +88,7 @@ namespace Accounting_Time_It_Company.Forms private Product CreateProduct(int id) { TypeProduct type = TypeProduct.None; - foreach (var elem in Enum.GetValues( typeof(TypeProduct))) + foreach (var elem in checkedListBoxTypeProduct.CheckedItems) { type |= (TypeProduct)elem; }