diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/DirectionType.cs b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/DirectionType.cs
new file mode 100644
index 0000000..0f9516b
--- /dev/null
+++ b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/DirectionType.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Project_SelfPropelledArtilleryUnit
+{
+ public enum DirectionType
+ {
+ Up=1,
+ Down=2,
+ Left=3,
+ Right=4
+ }
+}
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/DrawingSAU.cs b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/DrawingSAU.cs
new file mode 100644
index 0000000..164efc8
--- /dev/null
+++ b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/DrawingSAU.cs
@@ -0,0 +1,191 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Project_SelfPropelledArtilleryUnit
+{
+ public class DrawingSAU
+ {
+ public EntitySAU? EntitySAU { get; private set; }
+
+ private int? _pictureWidth;
+ private int? _pictureHeight;
+ private int? _startPosX;
+ private int? _startPosY;
+ private readonly int _drawingSAUWidth = 150;
+ private readonly int _drawingSAUHeight = 90;
+
+ public void Init (int speed, double weight, Color bodyColor, Color additionalColor, bool armor, bool guns)
+ {
+ EntitySAU = new EntitySAU();
+ EntitySAU.Init(speed, weight, bodyColor, additionalColor, armor, guns);
+ _pictureWidth = null;
+ _pictureHeight = null;
+ _startPosX = null;
+ _startPosY = null;
+ }
+
+ public bool SetPictureSize(int width,int height)
+ {
+ if (width > _pictureWidth || height > _pictureHeight)
+ {
+ return false;
+ }
+
+ _pictureWidth = width;
+ _pictureHeight = height;
+
+ if (_startPosX.HasValue && _startPosY.HasValue)
+ {
+ if (_startPosX + _pictureWidth > width)
+ {
+ _startPosX = width - _pictureWidth;
+ }
+ if (_startPosY + _pictureHeight > height)
+ {
+ _startPosY = height - _pictureHeight;
+ }
+ }
+ return false;
+
+ }
+
+ public void SetPosition(int x, int y)
+ {
+
+
+
+ if (!_pictureHeight.HasValue || !_pictureWidth.HasValue)
+ {
+ return;
+ }
+
+ _startPosX = x;
+ _startPosY = y;
+
+ if (x < 0)
+ {
+ _startPosX = 0;
+ }
+
+ if (y < 0)
+ {
+ _startPosY = 0;
+ }
+
+ if (x + _drawingSAUWidth > _pictureWidth)
+ {
+ _startPosX = _pictureWidth - _drawingSAUWidth;
+ }
+
+ if (y + _pictureHeight > _pictureHeight)
+ {
+ _startPosY = _pictureHeight - _drawingSAUHeight;
+ }
+
+ }
+
+
+ public bool MoveSAU(DirectionType direction)
+ {
+ if(EntitySAU==null || !_startPosX.HasValue || !_startPosY.HasValue)
+ {
+ return false;
+ }
+ switch (direction)
+ {
+ case DirectionType.Left:
+ if (_startPosX.Value - EntitySAU.Step >0)
+ {
+ _startPosX-=(int)EntitySAU.Step;
+ }
+ return true;
+ case DirectionType.Up:
+ if(_startPosY.Value - EntitySAU.Step >0)
+ {
+ _startPosY-=(int)EntitySAU.Step;
+ }
+ return true;
+ case DirectionType.Right:
+ if (_startPosX.Value + EntitySAU.Step +_drawingSAUWidth < _pictureWidth.Value)
+ {
+ _startPosX += (int)EntitySAU.Step;
+ }
+ return true;
+ case DirectionType.Down:
+ if (_startPosY.Value + EntitySAU.Step + _drawingSAUHeight < _pictureHeight.Value)
+ {
+ _startPosY += (int)EntitySAU.Step;
+ }
+ return true;
+ default:
+ return false;
+ }
+ }
+
+ public void DrawSAU(Graphics g)
+ {
+ if (EntitySAU == null || !_startPosX.HasValue || !_startPosY.HasValue)
+ {
+ return;
+ }
+
+ Pen pen = new(Color.Black);
+ Brush additionalBrush = new SolidBrush(EntitySAU.AdditionalColor);
+ Brush BaseBrush = new SolidBrush(Color.Brown);
+ Brush brBlack = new SolidBrush(Color.Black);
+
+ if (EntitySAU.Wheels)
+ {
+ g.FillEllipse(additionalBrush, _startPosX.Value, _startPosY.Value + 45, 40, 40);
+ g.FillEllipse(additionalBrush, _startPosX.Value + 40, _startPosY.Value + 45, 40, 40);
+ g.FillEllipse(additionalBrush, _startPosX.Value + 80, _startPosY.Value + 45, 40, 40);
+ }
+ else
+ {
+ g.FillEllipse(additionalBrush, _startPosX.Value, _startPosY.Value + 55, 130, 40);
+ }
+
+ //Корпус
+ Point point1 = new Point(_startPosX.Value, _startPosY.Value + 45);
+ Point point2 = new Point(_startPosX.Value + 120, _startPosY.Value + 45);
+ Point point3 = new Point(_startPosX.Value + 140, _startPosY.Value + 75);
+ Point point4 = new Point(_startPosX.Value + 120, _startPosY.Value + 65);
+ Point point5 = new Point(_startPosX.Value, _startPosY.Value + 65);
+
+ Point[] Points1 = { point1, point2, point3, point4, point5 };
+ g.FillPolygon (BaseBrush, Points1);
+
+ g.FillRectangle(BaseBrush, _startPosX.Value + 20, _startPosY.Value + 15, 80, 30);
+
+ //Ствол
+
+ Point point6 = new Point(_startPosX.Value+ 100, _startPosY.Value + 25);
+ Point point7 = new Point(_startPosX.Value + 150, _startPosY.Value + 10);
+ Point point8 = new Point(_startPosX.Value + 150, _startPosY.Value + 20);
+ Point point9 = new Point(_startPosX.Value + 100, _startPosY.Value + 35);
+ Point[] Points2 = { point6, point7, point8, point9};
+ g.FillPolygon(BaseBrush, Points2);
+
+ Point point10 = new Point(_startPosX.Value + 140, _startPosY.Value + 10);
+ Point point11 = new Point(_startPosX.Value + 145, _startPosY.Value + 5);
+ Point point12 = new Point(_startPosX.Value + 150, _startPosY.Value + 15);
+ Point point13 = new Point(_startPosX.Value + 145, _startPosY.Value + 20);
+ Point[] Points3 = { point10, point11, point12, point13 };
+ g.FillPolygon(BaseBrush, Points3);
+
+ //пулеметы
+
+ if (EntitySAU.Guns)
+ {
+
+ g.FillRectangle(additionalBrush, _startPosX.Value + 40, _startPosY.Value, 5, 15);
+ g.FillRectangle(additionalBrush, _startPosX.Value + 75, _startPosY.Value, 5, 15);
+
+ }
+
+ }
+ }
+}
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/EntitySAU.cs b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/EntitySAU.cs
new file mode 100644
index 0000000..2564a14
--- /dev/null
+++ b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/EntitySAU.cs
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Project_SelfPropelledArtilleryUnit
+{
+ public class EntitySAU
+ {
+ 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 Wheels { get; private set; }
+ //длина ствола
+ public bool Guns { get; private set; }
+
+ public double Step => Speed * 100 / Weight;
+
+
+
+ public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool wheels, bool guns)
+ {
+ Speed = speed;
+ Weight = weight;
+ BodyColor = bodyColor;
+ AdditionalColor = additionalColor;
+ Wheels = wheels;
+ Guns = guns;
+ }
+ }
+}
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Form1.Designer.cs b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Form1.Designer.cs
deleted file mode 100644
index 7bcae36..0000000
--- a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace Project_SelfPropelledArtilleryUnit
-{
- 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
- }
-}
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Form1.cs b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Form1.cs
deleted file mode 100644
index b15d4c4..0000000
--- a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace Project_SelfPropelledArtilleryUnit
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/FormSAU.Designer.cs b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/FormSAU.Designer.cs
new file mode 100644
index 0000000..819c41d
--- /dev/null
+++ b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/FormSAU.Designer.cs
@@ -0,0 +1,134 @@
+namespace Project_SelfPropelledArtilleryUnit
+{
+ partial class FormSAU
+ {
+ ///
+ /// 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()
+ {
+ pictureBox1 = new PictureBox();
+ create = new Button();
+ left = new Button();
+ up = new Button();
+ right = new Button();
+ down = new Button();
+ ((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
+ SuspendLayout();
+ //
+ // pictureBox1
+ //
+ pictureBox1.Dock = DockStyle.Fill;
+ pictureBox1.Location = new Point(0, 0);
+ pictureBox1.Name = "pictureBox1";
+ pictureBox1.Size = new Size(1054, 522);
+ pictureBox1.TabIndex = 0;
+ pictureBox1.TabStop = false;
+ //
+ // create
+ //
+ create.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
+ create.Location = new Point(12, 481);
+ create.Name = "create";
+ create.Size = new Size(94, 29);
+ create.TabIndex = 1;
+ create.Text = "create";
+ create.UseVisualStyleBackColor = true;
+ create.Click += Create_Click;
+ //
+ // left
+ //
+ left.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ left.BackgroundImage = Properties.Resources.left;
+ left.BackgroundImageLayout = ImageLayout.Stretch;
+ left.Location = new Point(904, 467);
+ left.Name = "left";
+ left.Size = new Size(40, 40);
+ left.TabIndex = 2;
+ left.UseVisualStyleBackColor = true;
+ left.Click += Move_Click;
+ //
+ // up
+ //
+ up.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ up.BackgroundImage = Properties.Resources.up;
+ up.BackgroundImageLayout = ImageLayout.Stretch;
+ up.Location = new Point(950, 421);
+ up.Name = "up";
+ up.Size = new Size(40, 40);
+ up.TabIndex = 3;
+ up.UseVisualStyleBackColor = true;
+ up.Click += Move_Click;
+ //
+ // right
+ //
+ right.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ right.BackgroundImage = Properties.Resources.right;
+ right.BackgroundImageLayout = ImageLayout.Stretch;
+ right.Location = new Point(996, 467);
+ right.Name = "right";
+ right.Size = new Size(40, 40);
+ right.TabIndex = 4;
+ right.UseVisualStyleBackColor = true;
+ right.Click += Move_Click;
+ //
+ // down
+ //
+ down.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ down.BackgroundImage = Properties.Resources.down;
+ down.BackgroundImageLayout = ImageLayout.Stretch;
+ down.Location = new Point(950, 467);
+ down.Name = "down";
+ down.Size = new Size(40, 40);
+ down.TabIndex = 5;
+ down.UseVisualStyleBackColor = true;
+ down.Click += Move_Click;
+ //
+ // FormSAU
+ //
+ AutoScaleDimensions = new SizeF(8F, 20F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(1054, 522);
+ Controls.Add(down);
+ Controls.Add(right);
+ Controls.Add(up);
+ Controls.Add(left);
+ Controls.Add(create);
+ Controls.Add(pictureBox1);
+ Name = "FormSAU";
+ Text = "Самоходная артиллерийская установка";
+ ((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
+ ResumeLayout(false);
+ }
+
+ #endregion
+
+ private PictureBox pictureBox1;
+ private Button create;
+ private Button left;
+ private Button up;
+ private Button right;
+ private Button down;
+ }
+}
\ No newline at end of file
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/FormSAU.cs b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/FormSAU.cs
new file mode 100644
index 0000000..40665ab
--- /dev/null
+++ b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/FormSAU.cs
@@ -0,0 +1,88 @@
+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 Project_SelfPropelledArtilleryUnit
+{
+ public partial class FormSAU : Form
+ {
+ private DrawingSAU? _drawingSAU;
+ private EntitySAU? _entity;
+
+ public FormSAU()
+ {
+ InitializeComponent();
+ }
+
+ private void Draw()
+ {
+ if (_drawingSAU == null)
+ {
+ return;
+ }
+
+ Bitmap bmp = new(pictureBox1.Width, pictureBox1.Height);
+ Graphics gr = Graphics.FromImage(bmp);
+ _drawingSAU.DrawSAU(gr);
+ pictureBox1.Image = bmp;
+ }
+
+ private void Create_Click(object sender, EventArgs e)
+ {
+
+
+
+ Random random = new();
+ _drawingSAU = new DrawingSAU();
+ // _entity = new EntitySAU();
+ _drawingSAU.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)));
+
+ _drawingSAU.SetPictureSize(pictureBox1.Width, pictureBox1.Height);
+ _drawingSAU.SetPosition(pictureBox1.Width , pictureBox1.Height);
+
+
+
+ Draw();
+ }
+
+ private void Move_Click(object sender, EventArgs e)
+ {
+ if(_drawingSAU==null)
+ {
+ return;
+ }
+
+ string name=((Button)sender)?.Name ?? string.Empty;
+ bool result = false;
+ switch (name)
+ {
+ case "up":
+ result = _drawingSAU.MoveSAU(DirectionType.Up);
+ break;
+ case "down":
+ result = _drawingSAU.MoveSAU(DirectionType.Down);
+ break;
+ case "left":
+ result = _drawingSAU.MoveSAU(DirectionType.Left);
+ break;
+ case "right":
+ result = _drawingSAU.MoveSAU(DirectionType.Right);
+ break;
+ }
+
+ if(result)
+ {
+ Draw();
+ }
+ }
+ }
+}
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Form1.resx b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/FormSAU.resx
similarity index 93%
rename from Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Form1.resx
rename to Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/FormSAU.resx
index 1af7de1..af32865 100644
--- a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Form1.resx
+++ b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/FormSAU.resx
@@ -1,17 +1,17 @@
-
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Program.cs b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Program.cs
index 15adad9..909fec7 100644
--- a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Program.cs
+++ b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Program.cs
@@ -11,7 +11,7 @@ namespace Project_SelfPropelledArtilleryUnit
// 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 FormSAU());
}
}
}
\ No newline at end of file
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit.csproj b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit.csproj
index 663fdb8..af03d74 100644
--- a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit.csproj
+++ b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit.csproj
@@ -8,4 +8,19 @@
enable
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
\ No newline at end of file
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Properties/Resources.Designer.cs b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..3603868
--- /dev/null
+++ b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Properties/Resources.Designer.cs
@@ -0,0 +1,113 @@
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+namespace Project_SelfPropelledArtilleryUnit.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("Project_SelfPropelledArtilleryUnit.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 arrow {
+ get {
+ object obj = ResourceManager.GetObject("arrow", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap down {
+ get {
+ object obj = ResourceManager.GetObject("down", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap left {
+ get {
+ object obj = ResourceManager.GetObject("left", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap right {
+ get {
+ object obj = ResourceManager.GetObject("right", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap up {
+ get {
+ object obj = ResourceManager.GetObject("up", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Properties/Resources.resx b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Properties/Resources.resx
new file mode 100644
index 0000000..dbd77ef
--- /dev/null
+++ b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Properties/Resources.resx
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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\arrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\left.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\right.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
\ No newline at end of file
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/arrow.png b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/arrow.png
new file mode 100644
index 0000000..ef80486
Binary files /dev/null and b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/arrow.png differ
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/down.png b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/down.png
new file mode 100644
index 0000000..de6c88f
Binary files /dev/null and b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/down.png differ
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/left.png b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/left.png
new file mode 100644
index 0000000..dafaaf9
Binary files /dev/null and b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/left.png differ
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/right.png b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/right.png
new file mode 100644
index 0000000..ef80486
Binary files /dev/null and b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/right.png differ
diff --git a/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/up.png b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/up.png
new file mode 100644
index 0000000..f920a80
Binary files /dev/null and b/Project_SelfPropelledArtilleryUnit/Project_SelfPropelledArtilleryUnit/Resources/up.png differ