This commit is contained in:
10Г Егор Романов 2022-12-25 12:32:11 +04:00
parent 929614d9e3
commit 2dfd2b33bb

View File

@ -26,6 +26,20 @@ namespace HoistingCrane
/// <summary>
private MapWithSetHoistingCraneGeneric<DrawingObjectHoistingCrane, AbstractMap> _mapHoistingCraneCollectionGeneric;
public FormMapWithSetHoistingCrane()
{
{ "Простая карта", new SimpleMap() },
{ "Вторая карта", new SecondMap() },
};
/// <summary>
/// Объект от коллекции карт
/// Логер
/// </summary>
private readonly ILogger _logger;
/// <summary>
private readonly MapsCollection _mapsCollection;
/// <summary>
public FormMapWithSetHoistingCrane(ILogger<FormMapWithSetHoistingCrane> logger)
{
{
InitializeComponent();
_mapsCollection = new MapsCollection(pictureBox.Width, pictureBox.Height);