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("Загрузка магазинов");