diff --git a/Airplane/Airplane/AirPlane.Designer.cs b/Airplane/Airplane/AirPlane.Designer.cs
new file mode 100644
index 0000000..a038aaf
--- /dev/null
+++ b/Airplane/Airplane/AirPlane.Designer.cs
@@ -0,0 +1,133 @@
+namespace Airplane
+{
+ partial class AirPlane
+ {
+ ///
+ /// 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()
+ {
+ pictureBoxAirPlane = new PictureBox();
+ buttonCreate = new Button();
+ buttonRight = new Button();
+ buttonLeft = new Button();
+ buttonDown = new Button();
+ buttonUp = new Button();
+ ((System.ComponentModel.ISupportInitialize)pictureBoxAirPlane).BeginInit();
+ SuspendLayout();
+ //
+ // pictureBoxAirPlane
+ //
+ pictureBoxAirPlane.Dock = DockStyle.Fill;
+ pictureBoxAirPlane.Location = new Point(0, 0);
+ pictureBoxAirPlane.Name = "pictureBoxAirPlane";
+ pictureBoxAirPlane.Size = new Size(882, 453);
+ pictureBoxAirPlane.SizeMode = PictureBoxSizeMode.AutoSize;
+ pictureBoxAirPlane.TabIndex = 0;
+ pictureBoxAirPlane.TabStop = false;
+ //
+ // buttonCreate
+ //
+ buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
+ buttonCreate.Location = new Point(37, 392);
+ buttonCreate.Name = "buttonCreate";
+ buttonCreate.Size = new Size(94, 29);
+ buttonCreate.TabIndex = 1;
+ buttonCreate.Text = "Создать";
+ buttonCreate.UseVisualStyleBackColor = true;
+ buttonCreate.Click += buttonCreate_Click;
+ //
+ // buttonRight
+ //
+ buttonRight.BackgroundImage = Properties.Resources.arrowRight;
+ buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
+ buttonRight.Location = new Point(809, 391);
+ buttonRight.Name = "buttonRight";
+ buttonRight.Size = new Size(30, 30);
+ buttonRight.TabIndex = 3;
+ buttonRight.UseVisualStyleBackColor = true;
+ buttonRight.Click += buttonMove_Click;
+ //
+ // buttonLeft
+ //
+ buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
+ buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
+ buttonLeft.Location = new Point(737, 391);
+ buttonLeft.Name = "buttonLeft";
+ buttonLeft.Size = new Size(30, 30);
+ buttonLeft.TabIndex = 5;
+ buttonLeft.UseVisualStyleBackColor = true;
+ buttonLeft.Click += buttonMove_Click;
+ //
+ // buttonDown
+ //
+ buttonDown.BackgroundImage = Properties.Resources.arrowDown;
+ buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
+ buttonDown.Location = new Point(773, 392);
+ buttonDown.Name = "buttonDown";
+ buttonDown.Size = new Size(30, 30);
+ buttonDown.TabIndex = 7;
+ buttonDown.UseVisualStyleBackColor = true;
+ buttonDown.Click += buttonMove_Click;
+ //
+ // buttonUp
+ //
+ buttonUp.BackgroundImage = Properties.Resources.arrowUp;
+ buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
+ buttonUp.Location = new Point(773, 352);
+ buttonUp.Name = "buttonUp";
+ buttonUp.Size = new Size(30, 30);
+ buttonUp.TabIndex = 9;
+ buttonUp.UseVisualStyleBackColor = true;
+ buttonUp.Click += buttonMove_Click;
+ //
+ // AirPlane
+ //
+ AutoScaleDimensions = new SizeF(8F, 20F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(882, 453);
+ Controls.Add(buttonUp);
+ Controls.Add(buttonDown);
+ Controls.Add(buttonLeft);
+ Controls.Add(buttonRight);
+ Controls.Add(buttonCreate);
+ Controls.Add(pictureBoxAirPlane);
+ Name = "AirPlane";
+ StartPosition = FormStartPosition.CenterScreen;
+ Text = "AirPlane";
+ ((System.ComponentModel.ISupportInitialize)pictureBoxAirPlane).EndInit();
+ ResumeLayout(false);
+ PerformLayout();
+ }
+
+ #endregion
+
+ private PictureBox pictureBoxAirPlane;
+ private Button buttonCreate;
+ private Button buttonRight;
+ private Button buttonLeft;
+ private Button buttonDown;
+ private Button buttonUp;
+ }
+}
\ No newline at end of file
diff --git a/Airplane/Airplane/AirPlane.cs b/Airplane/Airplane/AirPlane.cs
new file mode 100644
index 0000000..396f165
--- /dev/null
+++ b/Airplane/Airplane/AirPlane.cs
@@ -0,0 +1,65 @@
+namespace Airplane
+{
+ public partial class AirPlane : Form
+ {
+ ///
+ ///
+ ///
+ private DrawningAirPlane _drawningAirPlane;
+ public AirPlane()
+ {
+ InitializeComponent();
+ }
+
+ private void Draw()
+ {
+ Bitmap bmp = new(pictureBoxAirPlane.Width, pictureBoxAirPlane.Height);
+ Graphics g = Graphics.FromImage(bmp);
+ _drawningAirPlane.DrawTransport(g);
+ pictureBoxAirPlane.Image = bmp;
+ }
+ ///
+ /// ""
+ ///
+ ///
+ ///
+ private void buttonCreate_Click(object sender, EventArgs e)
+ {
+ Random rnd = new();
+ _drawningAirPlane = new DrawningAirPlane();
+ _drawningAirPlane.Init(rnd.Next(100, 300), rnd.Next(1000, 2000), Color.FromArgb(rnd.Next(0, 256), rnd.Next(0, 256), rnd.Next(0, 256)));
+ _drawningAirPlane.SetPosition(rnd.Next(10, 100), rnd.Next(10, 100), pictureBoxAirPlane.Width, pictureBoxAirPlane.Height);
+ Draw();
+ }
+ ///
+ ///
+ ///
+ ///
+ ///
+ private void buttonMove_Click(object sender, EventArgs e)
+ {
+ if (_drawningAirPlane == null)
+ {
+ return;
+ }
+ string name = ((Button)sender)?.Name ?? string.Empty;
+ switch (name)
+ {
+ case "buttonUp":
+ _drawningAirPlane.MoveTransport(Direction.Up);
+ break;
+ case "buttonDown":
+ _drawningAirPlane.MoveTransport(Direction.Down);
+ break;
+ case "buttonLeft":
+ _drawningAirPlane.MoveTransport(Direction.Left);
+ break;
+ case "buttonRight":
+ _drawningAirPlane.MoveTransport(Direction.Right);
+ break;
+ }
+ Draw();
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/Airplane/Airplane/AirPlane.resx b/Airplane/Airplane/AirPlane.resx
new file mode 100644
index 0000000..af32865
--- /dev/null
+++ b/Airplane/Airplane/AirPlane.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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/Airplane/Airplane/Airplane.csproj b/Airplane/Airplane/Airplane.csproj
index b57c89e..13ee123 100644
--- a/Airplane/Airplane/Airplane.csproj
+++ b/Airplane/Airplane/Airplane.csproj
@@ -8,4 +8,19 @@
enable
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
\ No newline at end of file
diff --git a/Airplane/Airplane/Direction.cs b/Airplane/Airplane/Direction.cs
new file mode 100644
index 0000000..b767355
--- /dev/null
+++ b/Airplane/Airplane/Direction.cs
@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Airplane
+{
+ ///
+ /// Направление перемещения
+ ///
+ internal enum Direction
+ {
+ ///
+ /// Вверх
+ ///
+ Up = 1,
+ ///
+ /// Вниз
+ ///
+ Down = 2,
+ ///
+ /// Влево
+ ///
+ Left = 3,
+ ///
+ /// Вправо
+ ///
+ Right = 4
+ }
+}
diff --git a/Airplane/Airplane/DrawningAirPlane.cs b/Airplane/Airplane/DrawningAirPlane.cs
new file mode 100644
index 0000000..e56c12e
--- /dev/null
+++ b/Airplane/Airplane/DrawningAirPlane.cs
@@ -0,0 +1,209 @@
+using System;
+using System.Collections.Generic;
+using System.Drawing;
+using System.Linq;
+using System.Security.Cryptography.X509Certificates;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Airplane
+{
+ ///
+ /// Класс, отвечающий за прорисовку и перемещение объекта-сущности
+ ///
+ internal class DrawningAirPlane
+ {
+ ///
+ /// Класс-сущность
+ ///
+ public EntityAirplane? EntityAirplane { get; set; }
+ ///
+ /// Ширина окна отрисовки
+ ///
+ private int? _pictureWidth = null;
+ ///
+ /// Высота окна отрисовки
+ ///
+ private int? _pictureHeight = null;
+ ///
+ /// Левая координата прорисовки
+ ///
+ private int _startPosX;
+
+ ///
+ /// Верхняя кооридната прорисовки
+ ///
+ private int _startPosY;
+ ///
+ /// Ширина прорисовки
+ ///
+ private readonly int _planeWidth = 110;
+ ///
+ /// Высота прорисовки
+ ///
+ private readonly int _planeHeight = 80;
+ ///
+ /// Инициализация свойств
+ ///
+ /// Скорость
+ /// Вес
+ /// Цвет кузова
+ /// true - объект создан, false - проверка не пройдена, нельзя создать объект в этих размерах
+ public void Init(int speed, float weight, Color bodyColor)
+ {
+ EntityAirplane = new EntityAirplane();
+ EntityAirplane.Init(speed, weight, bodyColor);
+ }
+ ///
+ /// Установка позиции
+ ///
+ /// Координата X
+ /// Координата Y
+ public void SetPosition(int x, int y, int width, int height)
+ {
+ if (width <= _planeWidth || height <= _planeHeight || x < 0 || y < 0 || x > width - _planeWidth || y > height - _planeHeight)
+ {
+ _pictureWidth = null;
+ _pictureHeight = null;
+ return;
+ }
+ _startPosX = x;
+ _startPosY = y;
+ _pictureWidth = width;
+ _pictureHeight = height;
+ }
+ ///
+ /// Изменение направления перемещения
+ ///
+ /// Направление
+ public void MoveTransport(Direction direction)
+ {
+ if (EntityAirplane == null)
+ {
+ return;
+ }
+ switch (direction)
+ {
+ //влево
+ case Direction.Left:
+ if (_startPosX - EntityAirplane.Step > 0)
+ {
+ _startPosX -= (int)EntityAirplane.Step;
+ }
+ break;
+ //вверх
+ case Direction.Up:
+ if (_startPosY - EntityAirplane.Step > 0)
+ {
+ _startPosY -= (int)EntityAirplane.Step;
+ }
+ break;
+ // вправо
+ case Direction.Right:
+ if (_startPosX + _planeWidth + EntityAirplane.Step < _pictureWidth)
+ {
+ _startPosX += (int)EntityAirplane.Step;
+ }
+ break;
+ //вниз
+ case Direction.Down:
+ if (_startPosY + _planeHeight + EntityAirplane.Step < _pictureHeight)
+ {
+ _startPosY += (int)EntityAirplane.Step;
+ }
+ break;
+ }
+ }
+ ///
+ /// Прорисовка объекта
+ ///
+ ///
+ public void DrawTransport(Graphics g)
+ {
+ if (_startPosX < 0 || _startPosY < 0
+ || !_pictureHeight.HasValue || !_pictureWidth.HasValue)
+ {
+ return;
+ }
+ Pen pen = new(Color.Black);
+ Brush brush = new SolidBrush(EntityAirplane.BodyColor);
+
+ //нос
+ PointF[] point = new PointF[3];
+ point[0] = new PointF(_startPosX + _planeHeight + 50, _startPosY + _planeHeight / 2);
+ point[1] = new PointF(_startPosX + 109, _startPosY + _planeHeight / 2 - 10);
+ point[2] = new PointF(_startPosX + 109, _startPosY + _planeHeight / 2 + 9);
+ g.FillPolygon(brush, point);
+
+ //Отрисовка носа
+ point = new PointF[3];
+ point[0] = new PointF(_startPosX + _planeHeight + 50, _startPosY + _planeHeight / 2);
+ point[1] = new PointF(_startPosX + 108, _startPosY + _planeHeight / 2 - 10);
+ point[2] = new PointF(_startPosX + 108, _startPosY + _planeHeight / 2 + 9);
+ g.DrawPolygon(pen, point);
+
+ //хвост
+ point = new PointF[3];
+ point[0] = new PointF(_startPosX + _planeWidth / 4, _startPosY + 10);
+ point[1] = new PointF(_startPosX + _planeWidth / 2, _startPosY + 30);
+ point[2] = new PointF(_startPosX + _planeWidth / 4, _startPosY + 30);
+ g.FillPolygon(brush, point);
+
+ //Отрисовка хвоста
+ point = new PointF[3];
+ point[0] = new PointF(_startPosX + _planeWidth / 4, _startPosY + 10);
+ point[1] = new PointF(_startPosX + _planeWidth / 2, _startPosY + 30);
+ point[2] = new PointF(_startPosX + _planeWidth / 4, _startPosY + 30);
+ g.DrawPolygon(pen, point);
+
+ //Корпус
+ g.FillRectangle(brush,_startPosX + _planeWidth / 4, _startPosY + _planeHeight / 2 - _planeHeight / 8,_planeWidth * 3 / 4, _planeHeight / 4);
+
+ //Отрисовка корпуса
+ point = new PointF[2];
+ point[0] = new PointF(_startPosX+_planeWidth/2,_startPosY + _planeHeight / 2 - _planeHeight / 8);
+ point[1] = new PointF(_startPosX+_planeWidth, _startPosY + _planeHeight / 2 - _planeHeight / 8);
+ g.DrawPolygon(pen, point);
+ point = new PointF[2];
+ point[0] = new PointF(_startPosX + _planeWidth / 4, _startPosY + 49);
+ point[1] = new PointF(_startPosX + _planeWidth, _startPosY + 49);
+ g.DrawPolygon(pen, point);
+ point = new PointF[2];
+ point[0] = new PointF(_startPosX + _planeWidth/4, _startPosY + _planeHeight / 2 - _planeHeight / 8);
+ point[1] = new PointF(_startPosX + _planeWidth/4, _startPosY + 49);
+ g.DrawPolygon(pen, point);
+
+ //Топливный бак
+ g.DrawEllipse(pen, _startPosX + _planeWidth / 5, _startPosY + 27, 5, 5);
+ g.DrawEllipse(pen, _startPosX + _planeWidth / 3, _startPosY + 27, 5, 5);
+ g.DrawRectangle(pen, _startPosX + 23, _startPosY + 27, 15, 5);
+ g.FillEllipse(brush, _startPosX + _planeWidth / 5, _startPosY + 27, 5, 5);
+ g.FillEllipse(brush, _startPosX + _planeWidth / 3, _startPosY + 27, 5, 5);
+
+
+ //Колеса
+ point = new PointF[2];
+ point[0] = new PointF(_startPosX + _planeWidth / 2, _startPosY + 49);
+ point[1] = new PointF(_startPosX + _planeWidth / 2, _startPosY + 53);
+ g.DrawPolygon(pen, point);
+
+ g.DrawEllipse(pen, _startPosX + _planeWidth / 2, _startPosY + 53, 5, 5);
+ g.DrawEllipse(pen, _startPosX + 49, _startPosY + 53, 5, 5);
+
+ g.FillEllipse(brush, _startPosX + _planeWidth / 2, _startPosY + 53, 5, 5);
+ g.FillEllipse(brush, _startPosX + 49, _startPosY + 53, 5, 5);
+
+ point = new PointF[2];
+ point[0] = new PointF(_startPosX + 105, _startPosY + 49);
+ point[1] = new PointF(_startPosX + 105, _startPosY + 53);
+ g.DrawPolygon(pen, point);
+
+ g.DrawEllipse(pen, _startPosX + 103, _startPosY + 53, 5, 5);
+ g.FillEllipse(brush, _startPosX + 103, _startPosY + 53, 5, 5);
+
+ //Радар
+ g.DrawEllipse(pen, _startPosX + _planeWidth / 2, _startPosY + 36, 45, 5);
+ }
+ }
+
+}
diff --git a/Airplane/Airplane/EntityAirplane.cs b/Airplane/Airplane/EntityAirplane.cs
new file mode 100644
index 0000000..5a4d5bf
--- /dev/null
+++ b/Airplane/Airplane/EntityAirplane.cs
@@ -0,0 +1,46 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Airplane
+{
+ public class EntityAirplane
+ {
+ ///
+ /// Скорость
+ ///
+ 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 double Step => (double)Speed * 100 / Weight;
+ ///
+ /// Инициализация полей объекта-класса спортивного автомобиля
+ ///
+ /// Скорость
+ /// Вес автомобиля
+ /// Основной цвет
+ /// Дополнительный цвет
+ public void Init(int speed, float weight, Color bodyColor)
+ {
+ Random rnd = new();
+ Speed = speed <= 0 ? rnd.Next(50, 150) : speed;
+ Weight = weight <= 0 ? rnd.Next(40, 70) : weight;
+ BodyColor = bodyColor;
+ }
+ }
+}
diff --git a/Airplane/Airplane/Form1.Designer.cs b/Airplane/Airplane/Form1.Designer.cs
deleted file mode 100644
index 5808f29..0000000
--- a/Airplane/Airplane/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace Airplane
-{
- 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/Airplane/Airplane/Form1.cs b/Airplane/Airplane/Form1.cs
deleted file mode 100644
index 868951c..0000000
--- a/Airplane/Airplane/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace Airplane
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
\ No newline at end of file
diff --git a/Airplane/Airplane/Program.cs b/Airplane/Airplane/Program.cs
index 0bc9bef..2111d6b 100644
--- a/Airplane/Airplane/Program.cs
+++ b/Airplane/Airplane/Program.cs
@@ -11,7 +11,7 @@ namespace Airplane
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
- Application.Run(new Form1());
+ Application.Run(new AirPlane());
}
}
}
\ No newline at end of file
diff --git a/Airplane/Airplane/Properties/Resources.Designer.cs b/Airplane/Airplane/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..a74c792
--- /dev/null
+++ b/Airplane/Airplane/Properties/Resources.Designer.cs
@@ -0,0 +1,103 @@
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+namespace Airplane.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("Airplane.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 arrowDown {
+ get {
+ object obj = ResourceManager.GetObject("arrowDown", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap arrowLeft {
+ get {
+ object obj = ResourceManager.GetObject("arrowLeft", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap arrowRight {
+ get {
+ object obj = ResourceManager.GetObject("arrowRight", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap arrowUp {
+ get {
+ object obj = ResourceManager.GetObject("arrowUp", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/Airplane/Airplane/Properties/Resources.resx b/Airplane/Airplane/Properties/Resources.resx
new file mode 100644
index 0000000..279ccb8
--- /dev/null
+++ b/Airplane/Airplane/Properties/Resources.resx
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+
+ ..\Resources\arrowDown.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\arrowUp.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\arrowRight.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\arrowLeft.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
\ No newline at end of file
diff --git a/Airplane/Airplane/Resources/arrowDown.jpg b/Airplane/Airplane/Resources/arrowDown.jpg
new file mode 100644
index 0000000..eeddf6b
Binary files /dev/null and b/Airplane/Airplane/Resources/arrowDown.jpg differ
diff --git a/Airplane/Airplane/Resources/arrowLeft.jpg b/Airplane/Airplane/Resources/arrowLeft.jpg
new file mode 100644
index 0000000..35c2704
Binary files /dev/null and b/Airplane/Airplane/Resources/arrowLeft.jpg differ
diff --git a/Airplane/Airplane/Resources/arrowRight.jpg b/Airplane/Airplane/Resources/arrowRight.jpg
new file mode 100644
index 0000000..9372578
Binary files /dev/null and b/Airplane/Airplane/Resources/arrowRight.jpg differ
diff --git a/Airplane/Airplane/Resources/arrowUp.jpg b/Airplane/Airplane/Resources/arrowUp.jpg
new file mode 100644
index 0000000..e630cea
Binary files /dev/null and b/Airplane/Airplane/Resources/arrowUp.jpg differ