diff --git a/HoistingCrane/HoistingCrane/FormMapWithSetHoistingCrane.cs b/HoistingCrane/HoistingCrane/FormMapWithSetHoistingCrane.cs index 8784862..76eb1e2 100644 --- a/HoistingCrane/HoistingCrane/FormMapWithSetHoistingCrane.cs +++ b/HoistingCrane/HoistingCrane/FormMapWithSetHoistingCrane.cs @@ -31,6 +31,8 @@ namespace HoistingCrane case "Вторая карта": map = new SecondMap(); break; + + } if (map != null) { @@ -47,8 +49,6 @@ namespace HoistingCrane { if (_mapHoistingCraneCollectionGeneric == null) { - return; - } FormHoistingCrane form = new(); if (form.ShowDialog() == DialogResult.OK) { @@ -65,6 +65,8 @@ namespace HoistingCrane } } + } + } private void ButtonRemoveHoistingCrane_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(maskedTextBoxPosition.Text))