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;