From 94dde9c5d91bf49d9fd2362198484c00e016c278 Mon Sep 17 00:00:00 2001 From: Danila_Mochalov Date: Wed, 1 Mar 2023 18:13:57 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=BE=D0=B9=20=D0=B4=D0=B5=D0=B1=D0=B0=D0=B3=20=D1=81=D0=BE?= =?UTF-8?q?=D1=85=D1=80=D0=B0=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B8=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?=D0=BC=D0=B0=D0=B3=D0=B0=D0=B7=D0=B8=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LawFirm/LawFirm/FormShop.cs | 1 + LawFirm/LawFirmBusinessLogic/BusinessLogics/ShopLogic.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/LawFirm/LawFirm/FormShop.cs b/LawFirm/LawFirm/FormShop.cs index 7083dd2..fdf3e0d 100644 --- a/LawFirm/LawFirm/FormShop.cs +++ b/LawFirm/LawFirm/FormShop.cs @@ -50,6 +50,7 @@ namespace LawFirmView textBoxName.Text = view.Name; textBoxAddress.Text = view.Adress; _shopDocuments = view.ShopDocuments ?? new Dictionary(); + textBoxMaxCountDocs.Text = view.MaxCountDocuments.ToString(); LoadData(); } } diff --git a/LawFirm/LawFirmBusinessLogic/BusinessLogics/ShopLogic.cs b/LawFirm/LawFirmBusinessLogic/BusinessLogics/ShopLogic.cs index 19c676b..4affe1c 100644 --- a/LawFirm/LawFirmBusinessLogic/BusinessLogics/ShopLogic.cs +++ b/LawFirm/LawFirmBusinessLogic/BusinessLogics/ShopLogic.cs @@ -105,7 +105,8 @@ namespace LawFirmBusinessLogic.BusinessLogics Name = shopElement.Name, Adress = shopElement.Adress, OpeningDate = shopElement.OpeningDate, - ShopDocuments = shopElement.ShopDocuments + ShopDocuments = shopElement.ShopDocuments, + MaxCountDocuments = shopElement.MaxCountDocuments }); } else