Изменил(а) на 'HoistingCrane/HoistingCrane/FormMapWithSetHoistingCrane.cs'

Signed-off-by: RomanovEgor <romanov17903@gmail.com>
This commit is contained in:
RomanovEgor 2022-12-25 10:42:46 +04:00 committed by 10Г Егор Романов
parent 4e2fbc8e7a
commit e60bac054a

View File

@ -30,8 +30,7 @@ namespace HoistingCrane
break; break;
case "Вторая карта": case "Вторая карта":
map = new SecondMap(); map = new SecondMap();
break; break;
} }
if (map != null) if (map != null)
{ {
@ -53,7 +52,6 @@ namespace HoistingCrane
var formHoistingCraneConfig = new FormHoistingCraneConfig(); var formHoistingCraneConfig = new FormHoistingCraneConfig();
formHoistingCraneConfig.AddEvent(AddHoistingCrane); formHoistingCraneConfig.AddEvent(AddHoistingCrane);
formHoistingCraneConfig.Show(); formHoistingCraneConfig.Show();
} }
private void AddHoistingCrane(DrawingHoistingCrane drawingHoistingCrane) private void AddHoistingCrane(DrawingHoistingCrane drawingHoistingCrane)
{ {