Eliseev E.E. LabWork03_Hard #8

Closed
ElEgEv wants to merge 23 commits from LabWork03_Hard into LabWork02_Hard
2 changed files with 2 additions and 2 deletions
Showing only changes of commit a2760750d5 - Show all commits

View File

@ -54,7 +54,7 @@ namespace BlacksmithWorkshop
textBoxAddress.Text = view.Address.ToString();
dateTimePickerDate.Value = view.DateOpen;
numericUpDownCount.Value = view.MaxCountManufactures;
_shopManufactures = view.Manufactures ?? new Dictionary<int, (IManufactureModel, int)>();
_shopManufactures = view.ShopManufactures ?? new Dictionary<int, (IManufactureModel, int)>();
LoadData();
}
}

View File

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