From b7696437d3dc217dd383db75a01b162a0f2d2d8a Mon Sep 17 00:00:00 2001 From: RomanovEgor Date: Sun, 25 Dec 2022 10:42:46 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'HoistingCrane/HoistingCrane/FormMapWi?= =?UTF-8?q?thSetHoistingCrane.cs'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: RomanovEgor --- HoistingCrane/HoistingCrane/FormMapWithSetHoistingCrane.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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))