From c912beb8e9d65f0038da8a006c1517a1e39455f1 Mon Sep 17 00:00:00 2001 From: katana Date: Sat, 4 Nov 2023 15:13:17 +0400 Subject: [PATCH] =?UTF-8?q?4=20=D0=B1=D0=B0=D0=B7=D0=BE=D0=B2=D0=B0=D1=8F?= =?UTF-8?q?=20=D0=BB=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82=D0=BE=D1=80=D0=BD?= =?UTF-8?q?=D0=B0=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectSeaplane/ProjectSeaplane/FormPlaneCollection.cs | 4 ++-- ProjectSeaplane/ProjectSeaplane/PlanesGenericStorage.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ProjectSeaplane/ProjectSeaplane/FormPlaneCollection.cs b/ProjectSeaplane/ProjectSeaplane/FormPlaneCollection.cs index 90b1c13..e9001dc 100644 --- a/ProjectSeaplane/ProjectSeaplane/FormPlaneCollection.cs +++ b/ProjectSeaplane/ProjectSeaplane/FormPlaneCollection.cs @@ -18,14 +18,14 @@ namespace ProjectSeaplane /// /// Набор объектов /// - private readonly CarsGenericStorage _storage; + private readonly PlanesGenericStorage _storage; /// /// Конструктор /// public FormPlaneCollection() { InitializeComponent(); - _storage = new CarsGenericStorage(pictureBoxCollection.Width, pictureBoxCollection.Height); + _storage = new PlanesGenericStorage(pictureBoxCollection.Width, pictureBoxCollection.Height); } /// /// Заполнение listBoxObjects diff --git a/ProjectSeaplane/ProjectSeaplane/PlanesGenericStorage.cs b/ProjectSeaplane/ProjectSeaplane/PlanesGenericStorage.cs index 554b405..fc37b49 100644 --- a/ProjectSeaplane/ProjectSeaplane/PlanesGenericStorage.cs +++ b/ProjectSeaplane/ProjectSeaplane/PlanesGenericStorage.cs @@ -9,13 +9,13 @@ using ProjectSeaplane.Generics; namespace ProjectSeaplane.Generics { - internal class CarsGenericStorage + internal class PlanesGenericStorage { readonly Dictionary> _planeStorages; public List Keys => _planeStorages.Keys.ToList(); private readonly int _pictureWidth; private readonly int _pictureHeight; - public CarsGenericStorage(int pictureWidth, int pictureHeight) + public PlanesGenericStorage(int pictureWidth, int pictureHeight) { _planeStorages = new Dictionary>(); _pictureWidth = pictureWidth;