Изменил(а) на '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
parent d73e2679ed
commit 0caaafb7f0

View File

@ -67,8 +67,7 @@ namespace HoistingCrane
break; break;
case "Вторая карта": case "Вторая карта":
map = new SecondMap(); map = new SecondMap();
break; break;
} }
if (map != null) if (map != null)
{ {
@ -131,7 +130,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)
{ {