From ca794a942ead9d317755310262278bb80ab4d7e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=9C=D0=B0=D0=BB?= =?UTF-8?q?=D0=B0=D1=84=D0=B5=D0=B5=D0=B2?= Date: Fri, 24 Nov 2023 15:30:37 +0400 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=D1=8B)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cruiser/Drawing/DrawingCruiser.cs | 4 ++-- Cruiser/FormCruiserCollection.cs | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cruiser/Drawing/DrawingCruiser.cs b/Cruiser/Drawing/DrawingCruiser.cs index fb3a7db..4bf62b9 100644 --- a/Cruiser/Drawing/DrawingCruiser.cs +++ b/Cruiser/Drawing/DrawingCruiser.cs @@ -17,11 +17,11 @@ namespace Cruiser.Drawing /// /// Ширина окна /// - public int _pictureWidth;// добавил для починки отрисовки на форме коллекций + public int _pictureWidth;// изменил уровень доступа для починки отрисовки на форме коллекций /// /// Высота окна /// - public int _pictureHeight;// добавил для починки отрисовки на форме коллекций + public int _pictureHeight;// изменил уровень доступа для починки отрисовки на форме коллекций /// /// Левая координата прорисовки Крейсера /// diff --git a/Cruiser/FormCruiserCollection.cs b/Cruiser/FormCruiserCollection.cs index 1dcff14..d10f237 100644 --- a/Cruiser/FormCruiserCollection.cs +++ b/Cruiser/FormCruiserCollection.cs @@ -133,8 +133,7 @@ namespace Cruiser { return; } - var obj = _storage[listBoxStorages.SelectedItem.ToString() ?? - string.Empty]; + var obj = _storage[listBoxStorages.SelectedItem.ToString() ?? string.Empty]; if (obj == null) { return;