From 5ffa496f6f2031e38ad1c446338da886d6f8baea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9F=D0=BE=D0=BB?= =?UTF-8?q?=D0=B5=D0=B2=D0=BE=D0=B9?= Date: Sun, 2 Oct 2022 22:19:25 +0400 Subject: [PATCH] =?UTF-8?q?=D0=95=D1=89=D1=91=20=D0=B8=D1=81=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FormMapWithSetArtilleries.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/SelfPropelledArtilleryUnit/FormMapWithSetArtilleries.cs b/SelfPropelledArtilleryUnit/FormMapWithSetArtilleries.cs index c77c1b1..2317b42 100644 --- a/SelfPropelledArtilleryUnit/FormMapWithSetArtilleries.cs +++ b/SelfPropelledArtilleryUnit/FormMapWithSetArtilleries.cs @@ -20,8 +20,7 @@ namespace Artilleries InitializeComponent(); } - private void comboBoxSelectorMap_SelectedIndexChanged(object sender, -EventArgs e) + private void comboBoxSelectorMap_SelectedIndexChanged(object sender, EventArgs e) { AbstractMap map = null; switch (comboBoxSelectorMap.Text) @@ -35,9 +34,7 @@ EventArgs e) } if (map != null) { - _mapArtilleriesCollectionGeneric = new - MapWithSetArtilleriesGeneric( - pictureBoxArtilleries.Width, pictureBoxArtilleries.Height, map); + _mapArtilleriesCollectionGeneric = new MapWithSetArtilleriesGeneric(pictureBoxArtilleries.Width, pictureBoxArtilleries.Height, map); } else { @@ -73,8 +70,7 @@ EventArgs e) { return; } - if (MessageBox.Show("Удалить объект?", "Удаление", - MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) + if (MessageBox.Show("Удалить объект?", "Удаление", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) { return; }