Pibd-14 Aliulov_S.R. LabWork08 Simple #11
@ -10,7 +10,7 @@ namespace ProjectAirBomber.CollectionGenericObjects;
|
||||
/// </summary>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
public class StorageCollection<T>
|
||||
where T : DrawningAirBomber
|
||||
where T : DrawningBomber
|
||||
{
|
||||
/// <summary>
|
||||
/// Словарь (хранилище) с коллекциями
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net7.0-windows</TargetFramework>
|
||||
<TargetFramework>net8.0-windows7.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
|
Loading…
Reference in New Issue
Block a user