diff --git a/Cruiser/Cruiser/DirectionType.cs b/Cruiser/Cruiser/DirectionType.cs
new file mode 100644
index 0000000..787e046
--- /dev/null
+++ b/Cruiser/Cruiser/DirectionType.cs
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Cruiser;
+
+///
+/// Перечисление направлений
+///
+public enum DirectionType
+{
+ ///
+ /// Вверх
+ ///
+ Up = 1,
+
+ ///
+ /// Вниз
+ ///
+ Down = 2,
+
+ ///
+ /// Влево
+ ///
+ Left = 3,
+
+ ///
+ /// Вправо
+ ///
+ Right = 4,
+}
diff --git a/Cruiser/Cruiser/DrawingCruiser.cs b/Cruiser/Cruiser/DrawingCruiser.cs
new file mode 100644
index 0000000..393ef09
--- /dev/null
+++ b/Cruiser/Cruiser/DrawingCruiser.cs
@@ -0,0 +1,227 @@
+using System.Drawing;
+
+namespace Cruiser;
+
+public class DrawingCruiser
+{
+ ///
+ /// Класс-сущность
+ ///
+ public EntityCruiser? EntityCruiser { get; private set; }
+
+ ///
+ /// Ширина окна
+ ///
+ private int? _pictureWidth;
+
+ ///
+ /// Высота окна
+ ///
+ private int? _pictureHeight;
+
+ ///
+ /// Левая координата корабля
+ ///
+ private int? _startPosX;
+
+ ///
+ /// Верхняя координата корабля
+ ///
+ private int? _startPosY;
+
+ ///
+ /// Ширина прорисовки корабля
+ ///
+ private readonly int _drawingCruiserWidth = 150;
+
+ ///
+ /// Высота прорисовки корабля
+ ///
+ private readonly int _drawingCruiserHeight = 50;
+
+ ///
+ /// Инициализация
+ ///
+ /// <скорость/param>
+ /// <вес/param>
+ /// <основной_цвет/param>
+ /// <дополнительный_цвет/param>
+ /// <наличие_надстроек/param>
+ /// <наличие_вооружения/param>
+ /// <наличие_якоря/param>
+ public void Init(int speed, double weight, Color bodycolor, Color additionalcolor, bool bodykit, bool arms, bool anchor)
+ {
+ EntityCruiser = new EntityCruiser();
+ EntityCruiser.Init(speed, weight, bodycolor, additionalcolor, bodykit, arms, anchor);
+ _pictureWidth = null;
+ _pictureHeight = null;
+ _startPosX = null;
+ _startPosY = null;
+ }
+
+ ///
+ /// Установка размеров окна
+ ///
+ /// <Ширина/param>
+ /// <Высота/param>
+ ///
+ public bool SetPictureSize(int width, int height)
+ {
+ if (_pictureWidth < _drawingCruiserWidth || _pictureHeight < _drawingCruiserHeight)
+ {
+ if (_startPosX != null && _startPosY != null)
+ {
+ if (width < 0) width = 0;
+ else if (_startPosX + _drawingCruiserWidth > width) _startPosX = width - _drawingCruiserWidth;
+ if (height < 0) height = 0;
+ else if (_startPosY + _drawingCruiserHeight > height) _startPosY = height - _drawingCruiserHeight;
+ }
+ }
+
+ // TODO проверка, что объект "влезает" в размеры поля
+ // если влезает, сохраняем границы и корректируем позицию объекта, если она была уже установлена
+ _pictureHeight = height;
+ _pictureWidth = width;
+ return true;
+ }
+
+ ///
+ /// Установка позиции
+ ///
+ ///
+ ///
+ public void SetPosition(int x, int y)
+ {
+ _startPosX = x;
+ _startPosY = y;
+ if (!_pictureHeight.HasValue || !_pictureWidth.HasValue)
+ {
+ return;
+ }
+ if (_startPosX + _drawingCruiserWidth > _pictureWidth)
+ {
+ _startPosX = _pictureWidth - _drawingCruiserWidth;
+ }
+ else if (_startPosX < 0)
+ {
+ _startPosX = 0;
+ }
+ if (_startPosY + _drawingCruiserHeight > _pictureHeight)
+ {
+ _startPosY = _pictureHeight - _drawingCruiserHeight;
+ }
+
+ else if (_startPosY < 0)
+ {
+ _startPosY = 0;
+ }
+ //TODO если при установке объекта в эти координаты, он будет выходить за границы поля,
+ //то нужно изменить координаты, чтобы он остался в нужных размерах
+ }
+
+ ///
+ /// Движение объекта
+ ///
+ ///
+ ///
+ public bool MoveTransport(DirectionType direction)
+ {
+ if (EntityCruiser == null || !_startPosX.HasValue || !_startPosY.HasValue)
+ {
+ return false;
+ }
+
+ switch (direction)
+ {
+ case DirectionType.Left:
+ if (_startPosX.Value - EntityCruiser.Step > 0)
+ {
+ _startPosX -= (int)EntityCruiser.Step;
+ }
+ return true;
+ case DirectionType.Up:
+ if (_startPosY.Value - EntityCruiser.Step > 0)
+ {
+ _startPosY -= (int)EntityCruiser.Step;
+ }
+ return true;
+ case DirectionType.Right:
+ if (_startPosX.Value + EntityCruiser.Step + _drawingCruiserWidth < _pictureWidth)
+ {
+ _startPosX += (int)EntityCruiser.Step;
+ }
+ return true;
+ case DirectionType.Down:
+ if (_startPosY.Value + EntityCruiser.Step + _drawingCruiserHeight < _pictureHeight)
+ {
+ _startPosY += (int)EntityCruiser.Step;
+ }
+ return true;
+ default: return false;
+ }
+ }
+
+ ///
+ /// Прорисовка объекта
+ ///
+ ///
+ public void DrawTransport(Graphics g)
+ {
+ if (EntityCruiser == null || !_startPosX.HasValue || !_startPosY.HasValue)
+ {
+ return;
+ }
+
+ Brush bodybrush = new SolidBrush(EntityCruiser.BodyColor);
+
+ //Массив точек
+ Pen pen = new(Color.Black);
+ Point p1 = new Point(_startPosX.Value + 5, _startPosY.Value);
+ Point p2 = new Point(_startPosX.Value + 100, _startPosY.Value);
+ Point p3 = new Point(_startPosX.Value + 150, _startPosY.Value + 25);
+ Point p4 = new Point(_startPosX.Value + 100, _startPosY.Value + 50);
+ Point p5 = new Point(_startPosX.Value + 5, _startPosY.Value + 50);
+ Point p6 = new Point(_startPosX.Value + 5, _startPosY.Value);
+ Point[] bodypoints = {p1, p2, p3, p4, p5, p6};
+ g.FillPolygon(bodybrush, bodypoints);
+ g.DrawPolygon(pen, bodypoints);
+ g.DrawRectangle(pen, _startPosX.Value, _startPosY.Value + 10, 5, 10);
+ g.DrawRectangle(pen, _startPosX.Value, _startPosY.Value + 30, 5, 10);
+
+ Brush additionalbrush = new SolidBrush(EntityCruiser.AdditionalColor);
+
+ if (EntityCruiser.Arms == true){
+ g.FillEllipse(additionalbrush, _startPosX.Value + 100, _startPosY.Value + 15, 20, 20);
+ g.DrawEllipse(pen, _startPosX.Value + 100, _startPosY.Value + 15, 20, 20);
+ }
+
+ if (EntityCruiser.Helicopter == true)
+ {
+ g.FillEllipse(additionalbrush, _startPosX.Value + 10, _startPosY.Value + 5, 40, 40);
+ g.DrawEllipse(pen, _startPosX.Value + 10, _startPosY.Value + 5, 40, 40);
+ Point ap1 = new Point(_startPosX.Value + 20, _startPosY.Value + 15);
+ Point ap2 = new Point(_startPosX.Value + 25, _startPosY.Value + 15);
+ Point ap3 = new Point(_startPosX.Value + 25, _startPosY.Value + 23);
+ Point ap4 = new Point(_startPosX.Value + 35, _startPosY.Value + 23);
+ Point ap5 = new Point(_startPosX.Value + 35, _startPosY.Value + 15);
+ Point ap6 = new Point(_startPosX.Value + 40, _startPosY.Value + 15);
+ Point ap7 = new Point(_startPosX.Value + 40, _startPosY.Value + 35);
+ Point ap8 = new Point(_startPosX.Value + 35, _startPosY.Value + 35);
+ Point ap9 = new Point(_startPosX.Value + 35, _startPosY.Value + 28);
+ Point ap10 = new Point(_startPosX.Value + 25, _startPosY.Value + 28);
+ Point ap11 = new Point(_startPosX.Value + 25, _startPosY.Value + 35);
+ Point ap12 = new Point(_startPosX.Value + 20, _startPosY.Value + 35);
+ Point[] abodypoints = { ap1, ap2, ap3, ap4, ap5, ap6, ap7, ap8, ap9, ap10, ap11, ap12};
+ g.FillPolygon(new SolidBrush(Color.White), abodypoints );
+ g.DrawPolygon(pen, abodypoints);
+ }
+
+ if (EntityCruiser.BodyKit == true)
+ {
+ g.FillRectangle(additionalbrush, _startPosX.Value + 70, _startPosY.Value + 15, 20, 20);
+ g.DrawRectangle(pen, _startPosX.Value + 70, _startPosY.Value + 15, 20, 20);
+ g.FillRectangle(additionalbrush, _startPosX.Value + 60, _startPosY.Value + 20, 10, 10);
+ g.DrawRectangle(pen, _startPosX.Value + 60, _startPosY.Value + 20, 10, 10);
+ }
+ }
+}
diff --git a/Cruiser/Cruiser/EntityCruiser.cs b/Cruiser/Cruiser/EntityCruiser.cs
new file mode 100644
index 0000000..3646076
--- /dev/null
+++ b/Cruiser/Cruiser/EntityCruiser.cs
@@ -0,0 +1,68 @@
+namespace Cruiser;
+
+///
+/// Класс-сущность Корабль Круизер
+///
+public class EntityCruiser
+{
+ ///
+ /// Скорость сущности
+ ///
+ 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 BodyKit { get; private set; }
+
+ ///
+ /// Наличие вооружения
+ ///
+ public bool Arms { get; private set; }
+
+ ///
+ /// Наличие вертолетной площадки
+ ///
+ public bool Helicopter { get; private set; }
+
+ ///
+ /// Шаг перемещения
+ ///
+ public double Step => Speed * 100 / Weight;
+
+ ///
+ ///
+ ///
+ /// <Скорость/param>
+ /// <Вес/param>
+ /// <Основной_цвет/param>
+ /// <Дополнительный_цвет/param>
+ /// <Надстройки/param>
+ /// <Вооружение/param>
+ /// <Якорь/param>
+ public void Init(int speed, double weight, Color bodycolor, Color additionalcolor, bool bodykit, bool arms, bool helicopter)
+ {
+ Speed = speed;
+ Weight = weight;
+ BodyColor = bodycolor;
+ AdditionalColor = additionalcolor;
+ BodyKit = bodykit;
+ Arms = arms;
+ Helicopter = helicopter;
+ }
+}
diff --git a/Cruiser/Cruiser/Form1.Designer.cs b/Cruiser/Cruiser/Form1.Designer.cs
deleted file mode 100644
index 3f620dd..0000000
--- a/Cruiser/Cruiser/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace Cruiser
-{
- 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/Cruiser/Cruiser/Form1.cs b/Cruiser/Cruiser/Form1.cs
deleted file mode 100644
index 8db80b9..0000000
--- a/Cruiser/Cruiser/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace Cruiser
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/Cruiser/Cruiser/FormCruiser.Designer.cs b/Cruiser/Cruiser/FormCruiser.Designer.cs
new file mode 100644
index 0000000..0f7299c
--- /dev/null
+++ b/Cruiser/Cruiser/FormCruiser.Designer.cs
@@ -0,0 +1,134 @@
+namespace Cruiser
+{
+ partial class FormCruiser
+ {
+ ///
+ /// 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()
+ {
+ pictureBoxCruiser = new PictureBox();
+ buttonCreateCruiser = new Button();
+ buttonRight = new Button();
+ buttonDown = new Button();
+ buttonUp = new Button();
+ buttonLeft = new Button();
+ ((System.ComponentModel.ISupportInitialize)pictureBoxCruiser).BeginInit();
+ SuspendLayout();
+ //
+ // pictureBoxCruiser
+ //
+ pictureBoxCruiser.Dock = DockStyle.Fill;
+ pictureBoxCruiser.Location = new Point(0, 0);
+ pictureBoxCruiser.Name = "pictureBoxCruiser";
+ pictureBoxCruiser.Size = new Size(1002, 724);
+ pictureBoxCruiser.SizeMode = PictureBoxSizeMode.CenterImage;
+ pictureBoxCruiser.TabIndex = 9;
+ pictureBoxCruiser.TabStop = false;
+ //
+ // buttonCreateCruiser
+ //
+ buttonCreateCruiser.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
+ buttonCreateCruiser.Location = new Point(12, 678);
+ buttonCreateCruiser.Name = "buttonCreateCruiser";
+ buttonCreateCruiser.Size = new Size(80, 34);
+ buttonCreateCruiser.TabIndex = 8;
+ buttonCreateCruiser.Text = "Создать";
+ buttonCreateCruiser.Click += buttonCreate_Click;
+ //
+ // buttonRight
+ //
+ buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonRight.BackgroundImage = Properties.Resources.arrowRight;
+ buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonRight.Location = new Point(955, 678);
+ buttonRight.Name = "buttonRight";
+ buttonRight.Size = new Size(35, 35);
+ buttonRight.TabIndex = 4;
+ buttonRight.UseVisualStyleBackColor = true;
+ buttonRight.Click += ButtonMove_Click;
+ //
+ // buttonDown
+ //
+ buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonDown.BackgroundImage = Properties.Resources.arrowDown;
+ buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonDown.Location = new Point(914, 678);
+ buttonDown.Name = "buttonDown";
+ buttonDown.Size = new Size(35, 35);
+ buttonDown.TabIndex = 5;
+ buttonDown.UseVisualStyleBackColor = true;
+ buttonDown.Click += ButtonMove_Click;
+ //
+ // buttonUp
+ //
+ buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonUp.BackgroundImage = Properties.Resources.arrowUp;
+ buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonUp.Location = new Point(914, 637);
+ buttonUp.Name = "buttonUp";
+ buttonUp.Size = new Size(35, 35);
+ buttonUp.TabIndex = 6;
+ buttonUp.UseVisualStyleBackColor = true;
+ buttonUp.Click += ButtonMove_Click;
+ //
+ // buttonLeft
+ //
+ buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
+ buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonLeft.Location = new Point(873, 678);
+ buttonLeft.Name = "buttonLeft";
+ buttonLeft.Size = new Size(35, 35);
+ buttonLeft.TabIndex = 7;
+ buttonLeft.UseVisualStyleBackColor = true;
+ buttonLeft.Click += ButtonMove_Click;
+ //
+ // FormCruiser
+ //
+ AutoScaleDimensions = new SizeF(8F, 20F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(1002, 724);
+ Controls.Add(buttonLeft);
+ Controls.Add(buttonUp);
+ Controls.Add(buttonDown);
+ Controls.Add(buttonRight);
+ Controls.Add(buttonCreateCruiser);
+ Controls.Add(pictureBoxCruiser);
+ Name = "FormCruiser";
+ Text = "Круизер";
+ ((System.ComponentModel.ISupportInitialize)pictureBoxCruiser).EndInit();
+ ResumeLayout(false);
+ }
+
+ #endregion
+
+ private PictureBox pictureBoxCruiser;
+ private Button buttonCreateCruiser;
+ private Button buttonRight;
+ private Button buttonDown;
+ private Button buttonUp;
+ private Button buttonLeft;
+ }
+}
\ No newline at end of file
diff --git a/Cruiser/Cruiser/FormCruiser.cs b/Cruiser/Cruiser/FormCruiser.cs
new file mode 100644
index 0000000..fd1222b
--- /dev/null
+++ b/Cruiser/Cruiser/FormCruiser.cs
@@ -0,0 +1,67 @@
+namespace Cruiser;
+
+public partial class FormCruiser : Form
+{
+ private DrawingCruiser? _drawingCruiser;
+
+ public FormCruiser()
+ {
+ InitializeComponent();
+ }
+
+ private void Draw()
+ {
+ if (_drawingCruiser == null)
+ {
+ return;
+ }
+ Bitmap bmp = new(pictureBoxCruiser.Width, pictureBoxCruiser.Height);
+ Graphics gr = Graphics.FromImage(bmp);
+ _drawingCruiser.DrawTransport(gr);
+ pictureBoxCruiser.Image = bmp;
+ }
+
+ private void buttonCreate_Click(object sender, EventArgs e)
+ {
+ Random random = new();
+ _drawingCruiser = new DrawingCruiser();
+ _drawingCruiser.Init(random.Next(100, 300), random.Next(200, 400),
+ 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)), Convert.ToBoolean(random.Next(0, 2)));
+ _drawingCruiser.SetPictureSize(pictureBoxCruiser.Width, pictureBoxCruiser.Height);
+ _drawingCruiser.SetPosition(random.Next(pictureBoxCruiser.Right - 200, pictureBoxCruiser.Right - 160), random.Next(pictureBoxCruiser.Bottom - 150, pictureBoxCruiser.Bottom - 100));
+ Draw();
+ }
+
+ private void ButtonMove_Click(object sender, EventArgs e)
+ {
+ if (_drawingCruiser == null)
+ {
+ return;
+ }
+
+ string name = ((Button)sender)?.Name ?? string.Empty;
+ bool result = false;
+
+ switch (name)
+ {
+ case "buttonUp":
+ result = _drawingCruiser.MoveTransport(DirectionType.Up);
+ break;
+ case "buttonDown":
+ result = _drawingCruiser.MoveTransport(DirectionType.Down);
+ break;
+ case "buttonLeft":
+ result = _drawingCruiser.MoveTransport(DirectionType.Left);
+ break;
+ case "buttonRight":
+ result = _drawingCruiser.MoveTransport(DirectionType.Right);
+ break;
+ }
+ if (result)
+ {
+ Draw();
+ }
+ }
+}
diff --git a/Cruiser/Cruiser/Form1.resx b/Cruiser/Cruiser/FormCruiser.resx
similarity index 93%
rename from Cruiser/Cruiser/Form1.resx
rename to Cruiser/Cruiser/FormCruiser.resx
index 1af7de1..af32865 100644
--- a/Cruiser/Cruiser/Form1.resx
+++ b/Cruiser/Cruiser/FormCruiser.resx
@@ -1,17 +1,17 @@
-
diff --git a/Cruiser/Cruiser/Program.cs b/Cruiser/Cruiser/Program.cs
index d0f2665..626bc14 100644
--- a/Cruiser/Cruiser/Program.cs
+++ b/Cruiser/Cruiser/Program.cs
@@ -11,7 +11,7 @@ namespace Cruiser
// 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 FormCruiser());
}
}
}
\ No newline at end of file
diff --git a/Cruiser/Cruiser/Properties/Resources.Designer.cs b/Cruiser/Cruiser/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..de11520
--- /dev/null
+++ b/Cruiser/Cruiser/Properties/Resources.Designer.cs
@@ -0,0 +1,103 @@
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+namespace Cruiser.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("Cruiser.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/Cruiser/Cruiser/Properties/Resources.resx b/Cruiser/Cruiser/Properties/Resources.resx
new file mode 100644
index 0000000..254c492
--- /dev/null
+++ b/Cruiser/Cruiser/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\arrowRight.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\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/Cruiser/Cruiser/Resources/arrowDown.png b/Cruiser/Cruiser/Resources/arrowDown.png
new file mode 100644
index 0000000..5648483
Binary files /dev/null and b/Cruiser/Cruiser/Resources/arrowDown.png differ
diff --git a/Cruiser/Cruiser/Resources/arrowLeft.png b/Cruiser/Cruiser/Resources/arrowLeft.png
new file mode 100644
index 0000000..7b8b710
Binary files /dev/null and b/Cruiser/Cruiser/Resources/arrowLeft.png differ
diff --git a/Cruiser/Cruiser/Resources/arrowRight.png b/Cruiser/Cruiser/Resources/arrowRight.png
new file mode 100644
index 0000000..7a32555
Binary files /dev/null and b/Cruiser/Cruiser/Resources/arrowRight.png differ
diff --git a/Cruiser/Cruiser/Resources/arrowUp.png b/Cruiser/Cruiser/Resources/arrowUp.png
new file mode 100644
index 0000000..17322c6
Binary files /dev/null and b/Cruiser/Cruiser/Resources/arrowUp.png differ