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; }