diff --git a/AirFighter/AirFighter.csproj b/AirFighter/AirFighter.csproj
new file mode 100644
index 0000000..103a83c
--- /dev/null
+++ b/AirFighter/AirFighter.csproj
@@ -0,0 +1,34 @@
+
+
+
+ WinExe
+ net6.0-windows
+ enable
+ true
+ enable
+
+
+
+
+
+
+
+
+
+
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
+
\ No newline at end of file
diff --git a/AirFighter/DirectionType.enum b/AirFighter/DirectionType.enum
new file mode 100644
index 0000000..378ae3b
--- /dev/null
+++ b/AirFighter/DirectionType.enum
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProjectAirFighter
+{
+ public enum DirectionType
+{
+///
+/// Вверх
+///
+Up = 1,
+///
+/// Вниз
+///
+Down = 2,
+///
+/// Влево
+///
+Left = 3,
+///
+/// Вправо
+///
+Right = 4
+}
+
+}
diff --git a/AirFighter/DrawningAirFighter.cs b/AirFighter/DrawningAirFighter.cs
new file mode 100644
index 0000000..0db1893
--- /dev/null
+++ b/AirFighter/DrawningAirFighter.cs
@@ -0,0 +1,313 @@
+using System;
+using System.Collections.Generic;
+using System.Drawing;
+using System.Drawing.Drawing2D;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProjectAirFighter
+{
+ public class DrawningAirFighter
+ {
+ ///
+ /// Класс-сущность
+ ///
+ public EntityAirFighter? EntityAirFighter { get; private set; }
+ ///
+
+ ///
+ private int _pictureWidth;
+ ///
+
+ ///
+ private int _pictureHeight;
+ ///
+
+
+ ///
+ private int _startPosX;
+ ///
+
+ ///
+ private int _startPosY;
+ ///
+
+ ///
+ private readonly int _airfighterWidth = 163;
+ ///
+
+ ///
+ private readonly int _airfighterHeight = 70;
+
+ private readonly int _airfighterwingkorpusHeight = 90;
+ ///
+ /// Инициализация свойств
+ ///
+ /// Скорость
+ /// Вес
+ ///
+ /// Дополнительный цвет
+ /// Ширина картинки
+ /// Высота картинки
+ /// true - объект создан, false - проверка не пройдена,
+ public bool Init(int speed, double weight, Color bodyColor, Color
+ additionalColor, bool racket, bool wing, int width, int height)
+ {
+ // TODO: Продумать проверки
+ if (width <= _airfighterWidth || height <= _airfighterHeight)
+ return false;
+ _pictureWidth = width;
+ _pictureHeight = height;
+ EntityAirFighter = new EntityAirFighter();
+ EntityAirFighter.Init(speed, weight, bodyColor, additionalColor,
+ racket, wing);
+ return true;
+ }
+ ///
+ /// Установка позиции
+ ///
+ /// Координата X
+ /// Координата Y
+ public void SetPosition(int x, int y)
+ {
+ // TODO: Изменение x, y
+ _startPosX = x;
+ _startPosY = y;
+ if (x + _airfighterWidth >= _pictureWidth || y + _airfighterHeight >= _pictureHeight)
+ {
+ _startPosX = 1;
+ _startPosY = (_airfighterHeight+_airfighterwingkorpusHeight)/2;
+ }
+ }
+ ///
+ /// Изменение направления перемещения
+ ///
+ /// Направление
+ public void MoveTransport(DirectionType direction)
+ {
+ if (EntityAirFighter == null)
+
+ {
+ return;
+ }
+ switch (direction)
+ {
+ //влево
+ case DirectionType.Left:
+ if (_startPosX - EntityAirFighter.Step > 0)
+ {
+ _startPosX -= (int)EntityAirFighter.Step;
+ }
+
+ break;
+ //вверх
+ case DirectionType.Up:
+ if (_startPosY - _airfighterHeight - EntityAirFighter.Step > 0)
+ {
+ _startPosY -= (int)EntityAirFighter.Step;
+ }
+ break;
+ // вправо
+ case DirectionType.Right:
+ if (_startPosX + EntityAirFighter.Step + _airfighterWidth < _pictureWidth)
+ {
+ _startPosX += (int)EntityAirFighter.Step;
+ }
+ else
+ _startPosX = _pictureWidth - _airfighterWidth;
+ break;
+ //вниз
+ case DirectionType.Down:
+ if (_startPosY + EntityAirFighter.Step + _airfighterwingkorpusHeight < _pictureHeight)
+ {
+
+ _startPosY += (int)EntityAirFighter.Step;
+
+ }
+ else
+ _startPosY = _pictureHeight - _airfighterwingkorpusHeight;
+ break;
+
+ }
+ }
+ ///
+ /// Прорисовка объекта
+ ///
+ ///
+ public void DrawTransport(Graphics g)
+ {
+ if (EntityAirFighter == null)
+ {
+ return;
+ }
+ Pen pen = new(Color.Black);
+ Brush additionalBrush = new
+ SolidBrush(EntityAirFighter.AdditionalColor);
+ // ракеты
+ if (EntityAirFighter.Racket)
+ {
+
+ Brush brGrey = new SolidBrush(Color.LightGray);
+ g.FillRectangle(brGrey, _startPosX + 70, _startPosY - 15, 10, 10);
+ g.DrawRectangle(pen, _startPosX + 70, _startPosY - 15, 10, 10);
+ Point[] noseracketPoints =
+ {
+ new Point(_startPosX + 70, _startPosY -5),
+ new Point(_startPosX + 70, _startPosY - 15),
+ new Point(_startPosX + 60,_startPosY -10)
+ };
+ Brush brRed = new SolidBrush(Color.Red);
+ g.FillPolygon(brRed, noseracketPoints);
+ g.DrawPolygon(pen, noseracketPoints);
+
+ g.FillRectangle(brGrey, _startPosX + 70, _startPosY - 40, 10, 10);
+ g.DrawRectangle(pen, _startPosX + 70, _startPosY - 40, 10, 10);
+ Point[] noseracketPoints2 =
+ {
+ new Point(_startPosX + 70, _startPosY -30),
+ new Point(_startPosX + 70, _startPosY - 40),
+ new Point(_startPosX + 60,_startPosY -35)
+ };
+
+ g.FillPolygon(brRed, noseracketPoints2);
+ g.DrawPolygon(pen, noseracketPoints2);
+ g.FillPolygon(brRed, noseracketPoints);
+ g.DrawPolygon(pen, noseracketPoints);
+
+ g.FillRectangle(brGrey, _startPosX + 70, _startPosY + 59, 10, 10);
+ g.DrawRectangle(pen, _startPosX + 70, _startPosY + 59, 10, 10);
+ Point[] noseracketPoints3 =
+ {
+ new Point(_startPosX + 70, _startPosY +59),
+ new Point(_startPosX + 70, _startPosY + 69),
+ new Point(_startPosX + 60,_startPosY + 64)
+ };
+
+ g.FillPolygon(brRed, noseracketPoints3);
+ g.DrawPolygon(pen, noseracketPoints3);
+
+
+ g.FillRectangle(brGrey, _startPosX + 70, _startPosY + 34, 10, 10);
+ g.DrawRectangle(pen, _startPosX + 70, _startPosY + 34, 10, 10);
+ Point[] noseracketPoints4 =
+ {
+ new Point(_startPosX + 70, _startPosY +34),
+ new Point(_startPosX + 70, _startPosY + 44),
+ new Point(_startPosX + 60,_startPosY + 39)
+ };
+
+ g.FillPolygon(brRed, noseracketPoints4);
+ g.DrawPolygon(pen, noseracketPoints4);
+
+ }
+
+
+
+
+ Point[] nosePoints =
+ {
+ new Point(_startPosX + 20, _startPosY + 4),
+ new Point(_startPosX + 20, _startPosY + 24),
+ new Point(_startPosX-3,_startPosY + 12)
+ };
+ Brush brBlack = new SolidBrush(Color.Black);
+ g.FillPolygon(brBlack, nosePoints);
+ g.DrawPolygon(pen, nosePoints);
+
+ Point[] rightwingPoints =
+ {
+ new Point(_startPosX + 80, _startPosY + 4),
+ new Point(_startPosX+80,_startPosY - 66),
+ new Point(_startPosX+85,_startPosY - 66),
+ new Point(_startPosX + 100, _startPosY + 4)
+
+
+
+ };
+ g.FillPolygon(additionalBrush, rightwingPoints);
+ g.DrawPolygon(pen, rightwingPoints);
+
+ Point[] lefttwingPoints =
+ {
+ new Point(_startPosX + 80, _startPosY + 24),
+ new Point(_startPosX + 100, _startPosY + 24),
+ new Point(_startPosX+85,_startPosY + 94),
+ new Point(_startPosX+80,_startPosY + 94)
+
+ };
+ g.FillPolygon(additionalBrush, lefttwingPoints);
+ g.DrawPolygon(pen, lefttwingPoints);
+
+
+ Point[] leftenginePoints =
+ {
+ new Point(_startPosX + 140, _startPosY + 24),
+ new Point(_startPosX + 160, _startPosY + 24),
+ new Point(_startPosX+160,_startPosY + 50),
+ new Point(_startPosX+140,_startPosY + 32)
+
+
+
+
+ };
+ g.FillPolygon(additionalBrush, leftenginePoints);
+ g.DrawPolygon(pen, leftenginePoints);
+
+
+
+ Point[] rightenginePoints =
+ {
+ new Point(_startPosX + 140, _startPosY + 24),
+ new Point(_startPosX + 160, _startPosY + 24),
+ new Point(_startPosX+160,_startPosY - 16),
+ new Point(_startPosX+140,_startPosY -4)
+
+
+
+
+ };
+ g.FillPolygon(additionalBrush, rightenginePoints);
+ g.DrawPolygon(pen, rightenginePoints);
+
+ g.FillRectangle(additionalBrush, _startPosX + 20, _startPosY + 4, 140, 20);
+ g.DrawRectangle(pen, _startPosX + 20, _startPosY + 4, 140, 20);
+
+
+
+
+ // крыло
+ if (EntityAirFighter.Wing)
+ {
+ Point[] doprightwingPoints =
+ {
+ new Point(_startPosX + 30, _startPosY + 4),
+ new Point(_startPosX+30,_startPosY - 34),
+ new Point(_startPosX+35,_startPosY - 34),
+ new Point(_startPosX + 45, _startPosY + 4)
+
+
+
+ };
+ g.FillPolygon(additionalBrush, doprightwingPoints);
+ g.DrawPolygon(pen, doprightwingPoints);
+
+ Point[] doplefttwingPoints =
+ {
+ new Point(_startPosX + 30, _startPosY + 24),
+ new Point(_startPosX + 30, _startPosY + 59),
+ new Point(_startPosX+35,_startPosY + 59),
+ new Point(_startPosX+45,_startPosY + 24)
+
+ };
+ g.FillPolygon(additionalBrush, doplefttwingPoints);
+ g.DrawPolygon(pen, doplefttwingPoints);
+
+
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/AirFighter/EntityAirFighter.cs b/AirFighter/EntityAirFighter.cs
new file mode 100644
index 0000000..60d79c1
--- /dev/null
+++ b/AirFighter/EntityAirFighter.cs
@@ -0,0 +1,66 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProjectAirFighter
+{
+ public class EntityAirFighter
+ {
+ ///
+ /// Скорость
+ ///
+ public int Speed { get; private set; }
+ ///
+ /// Вес
+ ///
+ public double Weight { get; private set; }
+ ///
+ /// Основной цвет
+ ///
+ public Color BodyColor { get; private set; }
+ ///
+ /// Дополнительный цвет (для опциональных элементов)
+ ///
+ public Color AdditionalColor { get; private set; }
+ ///
+ /// Признак (опция) наличия обвеса
+ ///
+ public bool Racket { get; private set; }
+ ///
+ /// Признак (опция) наличия антикрыла
+ ///
+ public bool Wing { get; private set; }
+ ///
+ /// Признак (опция) наличия гоночной полосы
+ ///
+
+ ///
+ /// Шаг перемещения автомобиля
+ ///
+ public double Step => (double)Speed * 100 / Weight;
+ ///
+ /// Инициализация полей объекта-класса спортивного автомобиля
+ ///
+ /// Скорость
+ /// Вес автомобиля
+ /// Основной цвет
+ /// Дополнительный цвет
+ /// Признак наличия обвеса
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.pictureBoxAirFighter = new System.Windows.Forms.PictureBox();
+ this.ButtonCreateAirFighter = new System.Windows.Forms.Button();
+ this.buttonUp = new System.Windows.Forms.Button();
+ this.buttonLeft = new System.Windows.Forms.Button();
+ this.buttonDown = new System.Windows.Forms.Button();
+ this.buttonRight = new System.Windows.Forms.Button();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBoxAirFighter)).BeginInit();
+ this.SuspendLayout();
+ //
+ // pictureBoxAirFighter
+ //
+ this.pictureBoxAirFighter.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.pictureBoxAirFighter.Location = new System.Drawing.Point(0, 0);
+ this.pictureBoxAirFighter.Name = "pictureBoxAirFighter";
+ this.pictureBoxAirFighter.Size = new System.Drawing.Size(882, 453);
+ this.pictureBoxAirFighter.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
+ this.pictureBoxAirFighter.TabIndex = 0;
+ this.pictureBoxAirFighter.TabStop = false;
+ //
+ // ButtonCreateAirFighter
+ //
+ this.ButtonCreateAirFighter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.ButtonCreateAirFighter.Location = new System.Drawing.Point(0, 424);
+ this.ButtonCreateAirFighter.Name = "ButtonCreateAirFighter";
+ this.ButtonCreateAirFighter.Size = new System.Drawing.Size(94, 29);
+ this.ButtonCreateAirFighter.TabIndex = 1;
+ this.ButtonCreateAirFighter.Text = "Создать";
+ this.ButtonCreateAirFighter.UseVisualStyleBackColor = true;
+ this.ButtonCreateAirFighter.Click += new System.EventHandler(this.ButtonCreateAirFighter_Click);
+ //
+ // buttonUp
+ //
+ this.buttonUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonUp.BackgroundImage = global::AirFighter.Properties.Resources.kisspng_up_arrow_computer_icons_arrow_down_clip_art_5af6157c473cb4_0747815015260767962918;
+ this.buttonUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.buttonUp.Location = new System.Drawing.Point(816, 387);
+ this.buttonUp.Name = "buttonUp";
+ this.buttonUp.Size = new System.Drawing.Size(30, 30);
+ this.buttonUp.TabIndex = 2;
+ this.buttonUp.UseVisualStyleBackColor = true;
+ this.buttonUp.Click += new System.EventHandler(this.buttonMove_Click);
+ //
+ // buttonLeft
+ //
+ this.buttonLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonLeft.BackgroundImage = global::AirFighter.Properties.Resources.png_clipart_computer_icons_graphics_arrow_symbol_arrow_angle_desktop_wallpaper;
+ this.buttonLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.buttonLeft.Location = new System.Drawing.Point(780, 424);
+ this.buttonLeft.Name = "buttonLeft";
+ this.buttonLeft.Size = new System.Drawing.Size(30, 30);
+ this.buttonLeft.TabIndex = 3;
+ this.buttonLeft.UseVisualStyleBackColor = true;
+ this.buttonLeft.Click += new System.EventHandler(this.buttonMove_Click);
+ //
+ // buttonDown
+ //
+ this.buttonDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonDown.BackgroundImage = global::AirFighter.Properties.Resources.png_clipart_computer_icons_uma_musume_pretty_derby_fate_grand_order_saber_kemono_friends_three_arrow_game_angle;
+ this.buttonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.buttonDown.Location = new System.Drawing.Point(816, 424);
+ this.buttonDown.Name = "buttonDown";
+ this.buttonDown.Size = new System.Drawing.Size(30, 30);
+ this.buttonDown.TabIndex = 4;
+ this.buttonDown.UseVisualStyleBackColor = true;
+ this.buttonDown.Click += new System.EventHandler(this.buttonMove_Click);
+ //
+ // buttonRight
+ //
+ this.buttonRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonRight.BackgroundImage = global::AirFighter.Properties.Resources.png_transparent_grammatical_person_paper_narration_direzione_didattica_statale_gestione_scuola_elementare_copy_print_right_arrow_miscellaneous_game_angle;
+ this.buttonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.buttonRight.Location = new System.Drawing.Point(852, 423);
+ this.buttonRight.Name = "buttonRight";
+ this.buttonRight.Size = new System.Drawing.Size(30, 30);
+ this.buttonRight.TabIndex = 5;
+ this.buttonRight.UseVisualStyleBackColor = true;
+ this.buttonRight.Click += new System.EventHandler(this.buttonMove_Click);
+ //
+ // FormAirFighter
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(882, 453);
+ this.Controls.Add(this.buttonRight);
+ this.Controls.Add(this.buttonDown);
+ this.Controls.Add(this.buttonLeft);
+ this.Controls.Add(this.buttonUp);
+ this.Controls.Add(this.ButtonCreateAirFighter);
+ this.Controls.Add(this.pictureBoxAirFighter);
+ this.Name = "FormAirFighter";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "FormAirFighter";
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBoxAirFighter)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private PictureBox pictureBoxAirFighter;
+ private Button ButtonCreateAirFighter;
+ private Button buttonUp;
+ private Button buttonLeft;
+ private Button buttonDown;
+ private Button buttonRight;
+ }
+}
\ No newline at end of file
diff --git a/AirFighter/FormAirFighter.cs b/AirFighter/FormAirFighter.cs
new file mode 100644
index 0000000..4546eff
--- /dev/null
+++ b/AirFighter/FormAirFighter.cs
@@ -0,0 +1,84 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace ProjectAirFighter
+{
+ public partial class FormAirFighter : Form
+ {
+
+ private DrawningAirFighter? _drawningAirFighter;
+
+ public FormAirFighter()
+ {
+ InitializeComponent();
+ }
+ private void Draw()
+ {
+ if (_drawningAirFighter == null)
+ {
+ return;
+ }
+ Bitmap bmp = new(pictureBoxAirFighter.Width,
+ pictureBoxAirFighter.Height);
+ Graphics gr = Graphics.FromImage(bmp);
+ _drawningAirFighter.DrawTransport(gr);
+ pictureBoxAirFighter.Image = bmp;
+ }
+
+ private void ButtonCreateAirFighter_Click(object sender, EventArgs e)
+ {
+ Random random = new();
+ _drawningAirFighter = new DrawningAirFighter();
+
+ _drawningAirFighter.Init(random.Next(100, 300),
+ random.Next(1000, 3000),
+ Color.FromArgb(random.Next(0, 256), random.Next(0, 256),
+ random.Next(0, 256)),
+ Color.FromArgb(random.Next(0, 256), random.Next(0, 256),
+ random.Next(0, 256)),
+ Convert.ToBoolean(random.Next(0, 2)),
+ Convert.ToBoolean(random.Next(0, 2)),
+
+ pictureBoxAirFighter.Width, pictureBoxAirFighter.Height);
+ _drawningAirFighter.SetPosition(random.Next(10, 100),
+ random.Next(70, 100));
+ Draw();
+ }
+
+
+ private void buttonMove_Click(object sender, EventArgs e)
+ {
+ if (_drawningAirFighter == null)
+ {
+ return;
+ }
+ string name = ((Button)sender)?.Name ?? string.Empty;
+ switch (name)
+ {
+ case "buttonUp":
+ _drawningAirFighter.MoveTransport(DirectionType.Up);
+ break;
+ case "buttonDown":
+ _drawningAirFighter.MoveTransport(DirectionType.Down);
+ break;
+ case "buttonLeft":
+ _drawningAirFighter.MoveTransport(DirectionType.Left);
+ break;
+ case "buttonRight":
+ _drawningAirFighter.MoveTransport(DirectionType.Right);
+ break;
+ }
+ Draw();
+ }
+ }
+
+}
+
+
diff --git a/AirFighter/FormAirFighter.resx b/AirFighter/FormAirFighter.resx
new file mode 100644
index 0000000..f298a7b
--- /dev/null
+++ b/AirFighter/FormAirFighter.resx
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/AirFighter/Program.cs b/AirFighter/Program.cs
new file mode 100644
index 0000000..5f16c92
--- /dev/null
+++ b/AirFighter/Program.cs
@@ -0,0 +1,21 @@
+using System.Drawing;
+
+namespace ProjectAirFighter
+{
+ internal static class Program
+ {
+ ///
+ /// The main entry point for the application.
+ ///
+ [STAThread]
+ static void Main()
+ {
+ // To customize application configuration such as set high DPI
+
+ ApplicationConfiguration.Initialize();
+ Application.Run(new FormAirFighter());
+ }
+ }
+
+
+}
\ No newline at end of file
diff --git a/WinFormsApp1/WinFormsApp1.sln b/AirFighter/ProjectAirFighter.sln
similarity index 56%
rename from WinFormsApp1/WinFormsApp1.sln
rename to AirFighter/ProjectAirFighter.sln
index 65c874f..08f4935 100644
--- a/WinFormsApp1/WinFormsApp1.sln
+++ b/AirFighter/ProjectAirFighter.sln
@@ -1,9 +1,9 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
-VisualStudioVersion = 17.3.32825.248
+VisualStudioVersion = 17.5.33530.505
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinFormsApp1", "WinFormsApp1.csproj", "{855C52EB-A23F-42BD-875C-C5703182C585}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirFighter", "AirFighter.csproj", "{22602141-1DD8-4CA2-ACE8-935BC23A9C30}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -11,15 +11,15 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {855C52EB-A23F-42BD-875C-C5703182C585}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {855C52EB-A23F-42BD-875C-C5703182C585}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {855C52EB-A23F-42BD-875C-C5703182C585}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {855C52EB-A23F-42BD-875C-C5703182C585}.Release|Any CPU.Build.0 = Release|Any CPU
+ {22602141-1DD8-4CA2-ACE8-935BC23A9C30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {22602141-1DD8-4CA2-ACE8-935BC23A9C30}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {22602141-1DD8-4CA2-ACE8-935BC23A9C30}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {22602141-1DD8-4CA2-ACE8-935BC23A9C30}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {599F48E4-DA50-4BFB-9FCF-C72D7D505673}
+ SolutionGuid = {2CDBC790-EBFB-4261-A416-9D0938E15A56}
EndGlobalSection
EndGlobal
diff --git a/AirFighter/Properties/Resources.Designer.cs b/AirFighter/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..71c330b
--- /dev/null
+++ b/AirFighter/Properties/Resources.Designer.cs
@@ -0,0 +1,106 @@
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+namespace AirFighter.Properties {
+ using System;
+
+
+ ///
+ /// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
+ ///
+ // Этот класс создан автоматически классом StronglyTypedResourceBuilder
+ // с помощью такого средства, как ResGen или Visual Studio.
+ // Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
+ // с параметром /str или перестройте свой проект VS.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AirFighter.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Перезаписывает свойство CurrentUICulture текущего потока для всех
+ /// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap kisspng_up_arrow_computer_icons_arrow_down_clip_art_5af6157c473cb4_0747815015260767962918 {
+ get {
+ object obj = ResourceManager.GetObject("kisspng-up-arrow-computer-icons-arrow-down-clip-art-5af6157c473cb4.07478150152607" +
+ "67962918", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap png_clipart_computer_icons_graphics_arrow_symbol_arrow_angle_desktop_wallpaper {
+ get {
+ object obj = ResourceManager.GetObject("png-clipart-computer-icons-graphics-arrow-symbol-arrow-angle-desktop-wallpaper", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap png_clipart_computer_icons_uma_musume_pretty_derby_fate_grand_order_saber_kemono_friends_three_arrow_game_angle {
+ get {
+ object obj = ResourceManager.GetObject("png-clipart-computer-icons-uma-musume-pretty-derby-fate-grand-order-saber-kemono-" +
+ "friends-three-arrow-game-angle", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap png_transparent_grammatical_person_paper_narration_direzione_didattica_statale_gestione_scuola_elementare_copy_print_right_arrow_miscellaneous_game_angle {
+ get {
+ object obj = ResourceManager.GetObject("png-transparent-grammatical-person-paper-narration-direzione-didattica-statale-ge" +
+ "stione-scuola-elementare-copy-print-right-arrow-miscellaneous-game-angle", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/WinFormsApp1/Form1.resx b/AirFighter/Properties/Resources.resx
similarity index 74%
rename from WinFormsApp1/Form1.resx
rename to AirFighter/Properties/Resources.resx
index 1af7de1..a9f1f47 100644
--- a/WinFormsApp1/Form1.resx
+++ b/AirFighter/Properties/Resources.resx
@@ -117,4 +117,17 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ..\Resources\png-clipart-computer-icons-uma-musume-pretty-derby-fate-grand-order-saber-kemono-friends-three-arrow-game-angle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\png-transparent-grammatical-person-paper-narration-direzione-didattica-statale-gestione-scuola-elementare-copy-print-right-arrow-miscellaneous-game-angle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\png-clipart-computer-icons-graphics-arrow-symbol-arrow-angle-desktop-wallpaper.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\kisspng-up-arrow-computer-icons-arrow-down-clip-art-5af6157c473cb4.0747815015260767962918.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
\ No newline at end of file
diff --git a/AirFighter/Resources/kisspng-up-arrow-computer-icons-arrow-down-clip-art-5af6157c473cb4.0747815015260767962918.jpg b/AirFighter/Resources/kisspng-up-arrow-computer-icons-arrow-down-clip-art-5af6157c473cb4.0747815015260767962918.jpg
new file mode 100644
index 0000000..8e0659a
Binary files /dev/null and b/AirFighter/Resources/kisspng-up-arrow-computer-icons-arrow-down-clip-art-5af6157c473cb4.0747815015260767962918.jpg differ
diff --git a/AirFighter/Resources/png-clipart-computer-icons-graphics-arrow-symbol-arrow-angle-desktop-wallpaper.png b/AirFighter/Resources/png-clipart-computer-icons-graphics-arrow-symbol-arrow-angle-desktop-wallpaper.png
new file mode 100644
index 0000000..7219b87
Binary files /dev/null and b/AirFighter/Resources/png-clipart-computer-icons-graphics-arrow-symbol-arrow-angle-desktop-wallpaper.png differ
diff --git a/AirFighter/Resources/png-clipart-computer-icons-uma-musume-pretty-derby-fate-grand-order-saber-kemono-friends-three-arrow-game-angle.png b/AirFighter/Resources/png-clipart-computer-icons-uma-musume-pretty-derby-fate-grand-order-saber-kemono-friends-three-arrow-game-angle.png
new file mode 100644
index 0000000..32b8866
Binary files /dev/null and b/AirFighter/Resources/png-clipart-computer-icons-uma-musume-pretty-derby-fate-grand-order-saber-kemono-friends-three-arrow-game-angle.png differ
diff --git a/AirFighter/Resources/png-transparent-grammatical-person-paper-narration-direzione-didattica-statale-gestione-scuola-elementare-copy-print-right-arrow-miscellaneous-game-angle.png b/AirFighter/Resources/png-transparent-grammatical-person-paper-narration-direzione-didattica-statale-gestione-scuola-elementare-copy-print-right-arrow-miscellaneous-game-angle.png
new file mode 100644
index 0000000..c54d1d7
Binary files /dev/null and b/AirFighter/Resources/png-transparent-grammatical-person-paper-narration-direzione-didattica-statale-gestione-scuola-elementare-copy-print-right-arrow-miscellaneous-game-angle.png differ
diff --git a/WinFormsApp1/Form1.Designer.cs b/WinFormsApp1/Form1.Designer.cs
deleted file mode 100644
index f773cbb..0000000
--- a/WinFormsApp1/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace WinFormsApp1
-{
- partial class Form1
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(800, 450);
- this.Text = "Form1";
- }
-
- #endregion
- }
-}
\ No newline at end of file
diff --git a/WinFormsApp1/Form1.cs b/WinFormsApp1/Form1.cs
deleted file mode 100644
index bc4553a..0000000
--- a/WinFormsApp1/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace WinFormsApp1
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
\ No newline at end of file
diff --git a/WinFormsApp1/Program.cs b/WinFormsApp1/Program.cs
deleted file mode 100644
index 1e39c2a..0000000
--- a/WinFormsApp1/Program.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-namespace WinFormsApp1
-{
- internal static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- // To customize application configuration such as set high DPI settings or default font,
- // see https://aka.ms/applicationconfiguration.
- ApplicationConfiguration.Initialize();
- Application.Run(new Form1());
- }
- }
-}
\ No newline at end of file
diff --git a/WinFormsApp1/WinFormsApp1.csproj b/WinFormsApp1/WinFormsApp1.csproj
deleted file mode 100644
index b57c89e..0000000
--- a/WinFormsApp1/WinFormsApp1.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- WinExe
- net6.0-windows
- enable
- true
- enable
-
-
-
\ No newline at end of file