From 56b0d0de6fa2fa79237e158a3115abe6e7f9d748 Mon Sep 17 00:00:00 2001 From: Danil Malin Date: Tue, 18 Oct 2022 18:55:59 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BF=D1=83=D1=81=D1=82=D0=BE=D0=B9=20=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=BE=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WarmlyLocomotive/FormMapWithSetLocomotives.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/WarmlyLocomotive/WarmlyLocomotive/FormMapWithSetLocomotives.cs b/WarmlyLocomotive/WarmlyLocomotive/FormMapWithSetLocomotives.cs index 44686b3..de2e866 100644 --- a/WarmlyLocomotive/WarmlyLocomotive/FormMapWithSetLocomotives.cs +++ b/WarmlyLocomotive/WarmlyLocomotive/FormMapWithSetLocomotives.cs @@ -18,9 +18,9 @@ namespace WarmlyLocomotive /// private readonly Dictionary _mapsDict = new() { - { "Простая карта", new SimpleMap() }, - {"Карта с большими барьерами", new BigBarriersMap() }, - {"Карта с круглыми барьерами", new CirclesMap() } + {"Простая карта", new SimpleMap()}, + {"Карта с большими барьерами", new BigBarriersMap()}, + {"Карта с круглыми барьерами", new CirclesMap()} }; /// /// Объект от коллекции карт @@ -45,7 +45,6 @@ namespace WarmlyLocomotive private void ReloadMaps() { int index = listBoxMaps.SelectedIndex; - listBoxMaps.Items.Clear(); for (int i = 0; i < _mapsCollection.Keys.Count; i++) {