diff --git a/AntiAircraftGun/AntiAircraftGun/DirectionType.cs b/AntiAircraftGun/AntiAircraftGun/DirectionType.cs
new file mode 100644
index 0000000..bc591bb
--- /dev/null
+++ b/AntiAircraftGun/AntiAircraftGun/DirectionType.cs
@@ -0,0 +1,23 @@
+namespace ProjectSportCar;
+///
+/// Направление перемещения
+///
+public enum DirectionType
+{
+ ///
+ /// Вверх
+ ///
+ Up = 1,
+ ///
+ /// Вниз
+ ///
+ Down = 2,
+ ///
+ /// Влево
+ ///
+ Left = 3,
+ ///
+ /// Вправо
+ ///
+ Right = 4
+}
diff --git a/AntiAircraftGun/AntiAircraftGun/DrawningAntiAircrfatGun.cs b/AntiAircraftGun/AntiAircraftGun/DrawningAntiAircrfatGun.cs
new file mode 100644
index 0000000..bb4510d
--- /dev/null
+++ b/AntiAircraftGun/AntiAircraftGun/DrawningAntiAircrfatGun.cs
@@ -0,0 +1,210 @@
+using ProjectSportCar;
+
+namespace AntiAircraftGun;
+///
+/// Класс, отвечающий за прорисовку и перемещение объекта
+///
+public class DrawningAntiAircraftGun
+{
+ ///
+ /// Класс-сущность
+ ///
+ public EntityAntiAircraftGun? EntityAntiAircraftGun { get; private set; }
+ ///
+ /// Ширина окна
+ ///
+ private int? _pictureWidth;
+ ///
+ /// Высота окна
+ ///
+ private int? _pictureHeight;
+ ///
+ /// Левая координата прорисовки зенитной установки
+ ///
+ private int? _startPosX;
+ ///
+ /// Правая координата прорисовку зенитной установки
+ ///
+ private int? _startPosY;
+ ///
+ /// Ширина прорисовки зенитной установки
+ ///
+ private readonly int _drawningGunWidth = 150;
+ ///
+ /// Высота прорисовки зенитной установки
+ ///
+ private readonly int _drawingGunHeight = 115;
+ ///
+ /// Иницилизация
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public void Init(int speed, double weight, Color bodyColor, Color optionalElementsColor, double barrelLenth, bool hatchHeight, bool radar)
+ {
+ EntityAntiAircraftGun = new EntityAntiAircraftGun();
+ EntityAntiAircraftGun.Init(speed, weight, bodyColor, optionalElementsColor, barrelLenth, hatchHeight, radar);
+ _pictureWidth = null;
+ _pictureHeight = null;
+ _startPosX = null;
+ _startPosY = null;
+ }
+ ///
+ /// Установка гранц поля
+ ///
+ ///
+ ///
+ /// true - границы заданы, false - проверка не пройдена, нельзя разместить объект в этих размерах
+ public bool SetPictureSize(int width, int height)
+ {
+ // TODO проверка, что объект "влезает" в размеры поля
+ // если влезает, сохраняем границы и корректируем позицию объекта, если она была уже установлена
+ if (_drawningGunWidth > width || _drawingGunHeight > height) { return false; }
+ if (_startPosX.HasValue && _startPosY.HasValue)
+ {
+ if (_startPosX.Value + _drawningGunWidth > width)
+ {
+ _startPosX = width - _drawningGunWidth;
+ }
+ if (_startPosY.Value + _drawingGunHeight > height)
+ {
+ _startPosY = height - _drawingGunHeight;
+ }
+ }
+ _pictureHeight = height;
+ _pictureWidth = width;
+ return true;
+
+ }
+ ///
+ /// Установка позиции
+ ///
+ ///
+ ///
+ public void SetPosition(int x, int y)
+ {
+ if (!_pictureHeight.HasValue || !_pictureWidth.HasValue)
+ {
+ return;
+ }
+ if (x + _drawningGunWidth > _pictureWidth.Value || x < 0)
+ {
+ Random random = new();
+ _startPosX = random.Next(0, _pictureWidth.Value - _drawningGunWidth);
+ }
+ else
+ {
+ _startPosX = x;
+ }
+ if (y + _drawingGunHeight > _drawingGunHeight)
+ {
+ Random rand = new();
+ _startPosY = rand.Next(0, _pictureHeight.Value - _drawingGunHeight);
+ }
+ else
+ {
+ _startPosY = y;
+ }
+ }
+ ///
+ /// Изменение напаравления перемещения
+ ///
+ ///
+ ///
+ public bool MoveTransport(DirectionType direction)
+ {
+ if (EntityAntiAircraftGun == null || !_startPosX.HasValue ||
+ !_startPosY.HasValue)
+ {
+ return false;
+ }
+ switch (direction)
+ {
+ //влево
+ case DirectionType.Left:
+ if (_startPosX.Value - EntityAntiAircraftGun.Step > 0)
+ {
+ _startPosX -= (int)EntityAntiAircraftGun.Step;
+ }
+ return true;
+ //вверх
+ case DirectionType.Up:
+ if (_startPosY.Value - EntityAntiAircraftGun.Step > 0)
+ {
+ _startPosY -= (int)EntityAntiAircraftGun.Step;
+ }
+ return true;
+ // вправо
+ case DirectionType.Right:
+ //TODO прописать логику сдвига в право
+ if (_startPosX.Value + EntityAntiAircraftGun.Step + _drawningGunWidth < _pictureWidth)
+ {
+ _startPosX += (int)EntityAntiAircraftGun.Step;
+ }
+ return true;
+ //вниз
+ case DirectionType.Down:
+ //TODO прописать логику сдвига в вниз
+ if (_startPosY.Value + EntityAntiAircraftGun.Step + _drawingGunHeight < _pictureHeight)
+ {
+ _startPosY += (int)EntityAntiAircraftGun.Step;
+ }
+ return true;
+ default:
+ return false;
+ }
+ }
+ ///
+ /// Прорисовка объекта
+ ///
+ ///
+ public void DrawTransport(Graphics g)
+ {
+ if (EntityAntiAircraftGun == null || !_startPosX.HasValue || !_startPosY.HasValue) return;
+ Pen pen = new(Color.Black);
+ Brush additionalBrush = new SolidBrush(EntityAntiAircraftGun.OptionalElementsColor);
+ Brush MainBrush = new SolidBrush(EntityAntiAircraftGun.BodyColor);
+ // Башня
+ g.FillRectangle(MainBrush, _startPosX.Value + 50, _startPosY.Value + 50, 60, 25);
+ g.FillRectangle(MainBrush, _startPosX.Value + 25, _startPosY.Value + 75, 110, 10);
+ // Гусеницы
+ g.DrawArc(pen, _startPosX.Value + 110, _startPosY.Value + 85, 40, 30, 270, 180);
+ g.DrawArc(pen, _startPosX.Value + 10, _startPosY.Value + 85, 40, 30, 90, 180);
+ g.DrawLine(pen, _startPosX.Value + 30, _startPosY.Value + 115, _startPosX.Value + 130, _startPosY.Value + 115);
+ // Катки большие
+ g.DrawEllipse(pen, _startPosX.Value + 13, _startPosY.Value + 93, 20, 20);
+ g.DrawEllipse(pen, _startPosX.Value + 126, _startPosY.Value + 93, 20, 20);
+ // Катки малые
+ g.DrawEllipse(pen, _startPosX.Value + 40, _startPosY.Value + 105, 10, 10);
+ g.DrawEllipse(pen, _startPosX.Value + 60, _startPosY.Value + 105, 10, 10);
+ g.DrawEllipse(pen, _startPosX.Value + 80, _startPosY.Value + 105, 10, 10);
+ g.DrawEllipse(pen, _startPosX.Value + 100, _startPosY.Value + 105, 10, 10);
+ // Орудие
+ Pen penWeapon = new Pen(Color.Black, 8);
+ g.DrawLine(penWeapon, _startPosX.Value + 100, _startPosY.Value + 70, _startPosX.Value + 150, _startPosY.Value + 10);
+ // Люк
+ if (EntityAntiAircraftGun.Hatch)
+ {
+ Random random = new();
+ g.FillRectangle(additionalBrush, _startPosX.Value + 85, _startPosY.Value + 45, 20, 5);
+ }
+ // Радар
+ if (EntityAntiAircraftGun.Radar)
+ {
+ Pen penRadar = new Pen(Color.Green, 3);
+ Brush brushRadar = new SolidBrush(Color.Black);
+ g.DrawLine(pen, _startPosX.Value + 65, _startPosY.Value + 50, _startPosX.Value + 65, _startPosY.Value + 25);
+ g.FillEllipse(brushRadar, _startPosX.Value + 35, _startPosY.Value, 60, 25);
+ g.DrawLine(penRadar, _startPosX.Value + 65, _startPosY.Value + 25, _startPosX.Value + 65, _startPosY.Value);
+ g.DrawLine(penRadar, _startPosX.Value + 35, _startPosY.Value + 13, _startPosX.Value + 95, _startPosY.Value + 13);
+
+ }
+
+
+
+ }
+
+}
\ No newline at end of file
diff --git a/AntiAircraftGun/AntiAircraftGun/EntityAntiAircraftGun.cs b/AntiAircraftGun/AntiAircraftGun/EntityAntiAircraftGun.cs
new file mode 100644
index 0000000..46c7e1d
--- /dev/null
+++ b/AntiAircraftGun/AntiAircraftGun/EntityAntiAircraftGun.cs
@@ -0,0 +1,59 @@
+namespace AntiAircraftGun;
+///
+/// Класс-сущность "Зенитная установка"
+///
+public class EntityAntiAircraftGun
+{ ///
+ /// Скорость
+ ///
+ public int Speed { get; private set; }
+ ///
+ /// Вес
+ ///
+ public double Weight { get; private set; }
+ ///
+ /// Основной цвет
+ ///
+ public Color BodyColor { get; private set; }
+ ///
+ /// Дополнительный цвет
+ ///
+ public Color OptionalElementsColor { get; private set; }
+ ///
+ /// Длинна ствола
+ ///
+ public double BarrelLength { get; private set; }
+ ///
+ /// Люк
+ ///
+ public bool Hatch { get; private set; }
+ ///
+ /// Радар
+ ///
+ public bool Radar { get; private set; }
+ ///
+ /// Шаг
+ ///
+ public double Step { get { return Speed * 100 / Weight; } private set { } }
+ ///
+ /// Инициализация свойств
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public void Init(int speed, double weight, Color bodyColor, Color optionalElementsColor, double barrelLenth, bool hatch,bool radar)
+ {
+ Speed = speed;
+ Weight = weight;
+ BodyColor = bodyColor;
+ OptionalElementsColor = optionalElementsColor;
+ BarrelLength = barrelLenth;
+ Hatch = hatch;
+ Radar = radar;
+ }
+
+}
\ No newline at end of file
diff --git a/AntiAircraftGun/AntiAircraftGun/Form1.Designer.cs b/AntiAircraftGun/AntiAircraftGun/Form1.Designer.cs
deleted file mode 100644
index 4350061..0000000
--- a/AntiAircraftGun/AntiAircraftGun/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace AntiAircraftGun
-{
- 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/AntiAircraftGun/AntiAircraftGun/Form1.cs b/AntiAircraftGun/AntiAircraftGun/Form1.cs
deleted file mode 100644
index 90486ab..0000000
--- a/AntiAircraftGun/AntiAircraftGun/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace AntiAircraftGun
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
\ No newline at end of file
diff --git a/AntiAircraftGun/AntiAircraftGun/FormAntiAircraftGun.Designer.cs b/AntiAircraftGun/AntiAircraftGun/FormAntiAircraftGun.Designer.cs
new file mode 100644
index 0000000..8ad8233
--- /dev/null
+++ b/AntiAircraftGun/AntiAircraftGun/FormAntiAircraftGun.Designer.cs
@@ -0,0 +1,134 @@
+namespace AntiAircraftGun
+{
+ partial class FormAntiAircraftGun
+ {
+ ///
+ /// 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()
+ {
+ pictureBoxAntiAircraftGun = new PictureBox();
+ buttonCreate = new Button();
+ buttonDown = new Button();
+ buttonLeft = new Button();
+ buttonUp = new Button();
+ buttonRight = new Button();
+ ((System.ComponentModel.ISupportInitialize)pictureBoxAntiAircraftGun).BeginInit();
+ SuspendLayout();
+ //
+ // pictureBoxAntiAircraftGun
+ //
+ pictureBoxAntiAircraftGun.Dock = DockStyle.Fill;
+ pictureBoxAntiAircraftGun.Location = new Point(0, 0);
+ pictureBoxAntiAircraftGun.Name = "pictureBoxAntiAircraftGun";
+ pictureBoxAntiAircraftGun.Size = new Size(939, 393);
+ pictureBoxAntiAircraftGun.TabIndex = 6;
+ pictureBoxAntiAircraftGun.TabStop = false;
+ //
+ // buttonCreate
+ //
+ buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
+ buttonCreate.Location = new Point(12, 352);
+ buttonCreate.Name = "buttonCreate";
+ buttonCreate.Size = new Size(94, 29);
+ buttonCreate.TabIndex = 1;
+ buttonCreate.Text = "Создать";
+ buttonCreate.UseVisualStyleBackColor = true;
+ buttonCreate.Click += ButtonCreate_Click;
+ //
+ // buttonDown
+ //
+ buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonDown.BackgroundImage = Properties.Resources.ArrowDown;
+ buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonDown.Location = new Point(838, 339);
+ buttonDown.Name = "buttonDown";
+ buttonDown.Size = new Size(35, 35);
+ buttonDown.TabIndex = 2;
+ buttonDown.UseVisualStyleBackColor = true;
+ buttonDown.Click += ButtonMove_Click;
+ //
+ // buttonLeft
+ //
+ buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonLeft.BackgroundImage = Properties.Resources.ArrowLeft;
+ buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonLeft.Location = new Point(797, 339);
+ buttonLeft.Name = "buttonLeft";
+ buttonLeft.Size = new Size(35, 35);
+ buttonLeft.TabIndex = 3;
+ buttonLeft.UseVisualStyleBackColor = true;
+ buttonLeft.Click += ButtonMove_Click;
+ //
+ // buttonUp
+ //
+ buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonUp.BackgroundImage = Properties.Resources.ArrowUp;
+ buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonUp.Location = new Point(838, 298);
+ buttonUp.Name = "buttonUp";
+ buttonUp.Size = new Size(35, 35);
+ buttonUp.TabIndex = 4;
+ buttonUp.UseVisualStyleBackColor = true;
+ buttonUp.Click += ButtonMove_Click;
+ //
+ // buttonRight
+ //
+ buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonRight.BackgroundImage = Properties.Resources.ArrowRight;
+ buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonRight.Location = new Point(876, 339);
+ buttonRight.Name = "buttonRight";
+ buttonRight.Size = new Size(35, 35);
+ buttonRight.TabIndex = 5;
+ buttonRight.UseVisualStyleBackColor = true;
+ buttonRight.Click += ButtonMove_Click;
+ //
+ // FormAntiAircraftGun
+ //
+ AutoScaleDimensions = new SizeF(8F, 20F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(939, 393);
+ Controls.Add(buttonRight);
+ Controls.Add(buttonUp);
+ Controls.Add(buttonLeft);
+ Controls.Add(buttonDown);
+ Controls.Add(buttonCreate);
+ Controls.Add(pictureBoxAntiAircraftGun);
+ Name = "FormAntiAircraftGun";
+ Text = "Зенитная установка";
+ ((System.ComponentModel.ISupportInitialize)pictureBoxAntiAircraftGun).EndInit();
+ ResumeLayout(false);
+ }
+
+ #endregion
+
+ private PictureBox pictureBoxAntiAircraftGun;
+ private Button buttonCreate;
+ private Button buttonDown;
+ private Button buttonLeft;
+ private Button buttonUp;
+ private Button buttonRight;
+ }
+}
\ No newline at end of file
diff --git a/AntiAircraftGun/AntiAircraftGun/FormAntiAircraftGun.cs b/AntiAircraftGun/AntiAircraftGun/FormAntiAircraftGun.cs
new file mode 100644
index 0000000..6b8f612
--- /dev/null
+++ b/AntiAircraftGun/AntiAircraftGun/FormAntiAircraftGun.cs
@@ -0,0 +1,79 @@
+using ProjectSportCar;
+
+namespace AntiAircraftGun
+{
+ public partial class FormAntiAircraftGun : Form
+ {
+ private DrawningAntiAircraftGun? _drawningAntiAircraftGun;
+
+ public FormAntiAircraftGun()
+ {
+ InitializeComponent();
+ }
+
+ private void Draw()
+ {
+ if (_drawningAntiAircraftGun == null)
+ {
+ return;
+ }
+ Bitmap bmp = new(pictureBoxAntiAircraftGun.Width, pictureBoxAntiAircraftGun.Height);
+ Graphics gr = Graphics.FromImage(bmp);
+ _drawningAntiAircraftGun.DrawTransport(gr);
+ pictureBoxAntiAircraftGun.Image = bmp;
+ _drawningAntiAircraftGun.DrawTransport(gr);
+ }
+
+ private void ButtonCreate_Click(object sender, EventArgs e)
+ {
+ Random random = new();
+ _drawningAntiAircraftGun = new DrawningAntiAircraftGun();
+ _drawningAntiAircraftGun.Init(
+ random.Next(10, 100),
+ random.Next(10, 1000),
+ 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)),
+ random.Next(10, 100),
+ Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2)));
+ _drawningAntiAircraftGun.SetPictureSize(pictureBoxAntiAircraftGun.Width, pictureBoxAntiAircraftGun.Height);
+ _drawningAntiAircraftGun.SetPosition(random.Next(10, 100), random.Next(10, 100));
+
+ Draw();
+
+ }
+
+ private void ButtonMove_Click(object sender, EventArgs e)
+ {
+ if (_drawningAntiAircraftGun == null)
+ {
+ return;
+ }
+ string name = ((Button)sender)?.Name ?? string.Empty;
+ bool result = false;
+ switch (name)
+ {
+ case "buttonUp":
+ result =
+ _drawningAntiAircraftGun.MoveTransport(DirectionType.Up);
+ break;
+ case "buttonDown":
+ result =
+ _drawningAntiAircraftGun.MoveTransport(DirectionType.Down);
+ break;
+ case "buttonLeft":
+ result =
+ _drawningAntiAircraftGun.MoveTransport(DirectionType.Left);
+ break;
+ case "buttonRight":
+ result =
+ _drawningAntiAircraftGun.MoveTransport(DirectionType.Right);
+ break;
+ }
+ if (result)
+ {
+ Draw();
+ }
+
+ }
+ }
+}
diff --git a/AntiAircraftGun/AntiAircraftGun/Form1.resx b/AntiAircraftGun/AntiAircraftGun/FormAntiAircraftGun.resx
similarity index 93%
rename from AntiAircraftGun/AntiAircraftGun/Form1.resx
rename to AntiAircraftGun/AntiAircraftGun/FormAntiAircraftGun.resx
index 1af7de1..af32865 100644
--- a/AntiAircraftGun/AntiAircraftGun/Form1.resx
+++ b/AntiAircraftGun/AntiAircraftGun/FormAntiAircraftGun.resx
@@ -1,17 +1,17 @@
-
diff --git a/AntiAircraftGun/AntiAircraftGun/Program.cs b/AntiAircraftGun/AntiAircraftGun/Program.cs
index a07f785..5abc523 100644
--- a/AntiAircraftGun/AntiAircraftGun/Program.cs
+++ b/AntiAircraftGun/AntiAircraftGun/Program.cs
@@ -11,7 +11,7 @@ namespace AntiAircraftGun
// 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 FormAntiAircraftGun());
}
}
}
\ No newline at end of file
diff --git a/AntiAircraftGun/AntiAircraftGun/Properties/Resources.Designer.cs b/AntiAircraftGun/AntiAircraftGun/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..7eec7cc
--- /dev/null
+++ b/AntiAircraftGun/AntiAircraftGun/Properties/Resources.Designer.cs
@@ -0,0 +1,103 @@
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+namespace AntiAircraftGun.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("AntiAircraftGun.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/AntiAircraftGun/AntiAircraftGun/Properties/Resources.resx b/AntiAircraftGun/AntiAircraftGun/Properties/Resources.resx
new file mode 100644
index 0000000..1ee1a77
--- /dev/null
+++ b/AntiAircraftGun/AntiAircraftGun/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.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\ArrowLeft.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\ArrowRight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\ArrowUp.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
\ No newline at end of file
diff --git a/AntiAircraftGun/AntiAircraftGun/Resources/ArrowDown.png b/AntiAircraftGun/AntiAircraftGun/Resources/ArrowDown.png
new file mode 100644
index 0000000..0eed5eb
Binary files /dev/null and b/AntiAircraftGun/AntiAircraftGun/Resources/ArrowDown.png differ
diff --git a/AntiAircraftGun/AntiAircraftGun/Resources/ArrowLeft.png b/AntiAircraftGun/AntiAircraftGun/Resources/ArrowLeft.png
new file mode 100644
index 0000000..3d3663e
Binary files /dev/null and b/AntiAircraftGun/AntiAircraftGun/Resources/ArrowLeft.png differ
diff --git a/AntiAircraftGun/AntiAircraftGun/Resources/ArrowRight.png b/AntiAircraftGun/AntiAircraftGun/Resources/ArrowRight.png
new file mode 100644
index 0000000..cc7aedf
Binary files /dev/null and b/AntiAircraftGun/AntiAircraftGun/Resources/ArrowRight.png differ
diff --git a/AntiAircraftGun/AntiAircraftGun/Resources/ArrowUp.png b/AntiAircraftGun/AntiAircraftGun/Resources/ArrowUp.png
new file mode 100644
index 0000000..e165f9c
Binary files /dev/null and b/AntiAircraftGun/AntiAircraftGun/Resources/ArrowUp.png differ
diff --git a/AntiAircraftGun/Стрелочки/ArrowDown.png b/AntiAircraftGun/Стрелочки/ArrowDown.png
new file mode 100644
index 0000000..0eed5eb
Binary files /dev/null and b/AntiAircraftGun/Стрелочки/ArrowDown.png differ
diff --git a/AntiAircraftGun/Стрелочки/ArrowLeft.png b/AntiAircraftGun/Стрелочки/ArrowLeft.png
new file mode 100644
index 0000000..3d3663e
Binary files /dev/null and b/AntiAircraftGun/Стрелочки/ArrowLeft.png differ
diff --git a/AntiAircraftGun/Стрелочки/ArrowRight.png b/AntiAircraftGun/Стрелочки/ArrowRight.png
new file mode 100644
index 0000000..cc7aedf
Binary files /dev/null and b/AntiAircraftGun/Стрелочки/ArrowRight.png differ
diff --git a/AntiAircraftGun/Стрелочки/ArrowUp.png b/AntiAircraftGun/Стрелочки/ArrowUp.png
new file mode 100644
index 0000000..e165f9c
Binary files /dev/null and b/AntiAircraftGun/Стрелочки/ArrowUp.png differ