From a2760750d584d996b9f7aeedfda9a3d86f4d6e60 Mon Sep 17 00:00:00 2001 From: Programmist73 Date: Fri, 24 Mar 2023 00:37:43 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=B8=D0=B9=20=D1=80?= =?UTF-8?q?=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE=D1=80=D0=B8=D0=BD=D0=B3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BlacksmithWorkshop/BlacksmithWorkshop/FormShop.cs | 2 +- BlacksmithWorkshop/BlacksmithWorkshop/FormShops.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormShop.cs b/BlacksmithWorkshop/BlacksmithWorkshop/FormShop.cs index 86043c9..c582e91 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormShop.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormShop.cs @@ -54,7 +54,7 @@ namespace BlacksmithWorkshop textBoxAddress.Text = view.Address.ToString(); dateTimePickerDate.Value = view.DateOpen; numericUpDownCount.Value = view.MaxCountManufactures; - _shopManufactures = view.Manufactures ?? new Dictionary(); + _shopManufactures = view.ShopManufactures ?? new Dictionary(); LoadData(); } } diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormShops.cs b/BlacksmithWorkshop/BlacksmithWorkshop/FormShops.cs index 8b91d5f..ccec9e3 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormShops.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormShops.cs @@ -41,7 +41,7 @@ namespace BlacksmithWorkshop { dataGridView.DataSource = list; dataGridView.Columns["Id"].Visible = false; - dataGridView.Columns["Manufactures"].Visible = false; + dataGridView.Columns["ShopManufactures"].Visible = false; dataGridView.Columns["ShopName"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; } _logger.LogInformation("Загрузка магазинов");