diff --git a/ProjectAirBomber/ProjectAirBomber/CollectionGenericObjects/StorageCollection.cs b/ProjectAirBomber/ProjectAirBomber/CollectionGenericObjects/StorageCollection.cs index 468f73b..47b74c8 100644 --- a/ProjectAirBomber/ProjectAirBomber/CollectionGenericObjects/StorageCollection.cs +++ b/ProjectAirBomber/ProjectAirBomber/CollectionGenericObjects/StorageCollection.cs @@ -10,7 +10,7 @@ namespace ProjectAirBomber.CollectionGenericObjects; /// /// public class StorageCollection - where T : DrawningAirBomber + where T : DrawningBomber { /// /// Словарь (хранилище) с коллекциями diff --git a/ProjectAirBomber/ProjectAirBomber/FormBomberCollection.cs b/ProjectAirBomber/ProjectAirBomber/FormBomberCollection.cs index 32855ce..94252e1 100644 --- a/ProjectAirBomber/ProjectAirBomber/FormBomberCollection.cs +++ b/ProjectAirBomber/ProjectAirBomber/FormBomberCollection.cs @@ -166,7 +166,7 @@ public partial class FormBomberCollection : Form } catch (ObjectNotFoundException) { - _logger.LogError("Ошибка при передаче объекта на FormAirFighter"); + _logger.LogError("Ошибка при передаче объекта на FormAirBomber"); } } @@ -276,7 +276,7 @@ public partial class FormBomberCollection : Form switch (comboBoxSelectorCompany.Text) { - case "Ангар": + case "Хранилище": _company = new BomberHungarService(pictureBox.Width, pictureBox.Height, collection); break; } diff --git a/ProjectAirBomber/ProjectAirBomber/ProjectAirBomber.csproj b/ProjectAirBomber/ProjectAirBomber/ProjectAirBomber.csproj index 228b2c7..36a7753 100644 --- a/ProjectAirBomber/ProjectAirBomber/ProjectAirBomber.csproj +++ b/ProjectAirBomber/ProjectAirBomber/ProjectAirBomber.csproj @@ -2,7 +2,7 @@ WinExe - net7.0-windows + net8.0-windows7.0 enable true enable