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

View File

@ -29,6 +29,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);