diff --git a/HoistingCrane/HoistingCrane/DirectionType.cs b/HoistingCrane/HoistingCrane/DirectionType.cs
new file mode 100644
index 0000000..ffff269
--- /dev/null
+++ b/HoistingCrane/HoistingCrane/DirectionType.cs
@@ -0,0 +1,23 @@
+namespace HoistingCrane;
+
+public enum DirectionType : byte //Создали не класс(class), а перечисление (enum)
+{
+ //Перечислим основные траектории движния нашего автомобиля. Сразу же зададим значения.
+ ///
+ /// Вверх1
+ ///
+ Up = 1,
+ ///
+ /// Вниз
+ ///
+ Down,
+ ///
+ /// Влево
+ ///
+ Left,
+ ///
+ /// Вправо
+ ///
+ Right
+
+}
\ No newline at end of file
diff --git a/HoistingCrane/HoistingCrane/DrawningHoistingCrane.cs b/HoistingCrane/HoistingCrane/DrawningHoistingCrane.cs
new file mode 100644
index 0000000..c4c834c
--- /dev/null
+++ b/HoistingCrane/HoistingCrane/DrawningHoistingCrane.cs
@@ -0,0 +1,254 @@
+
+namespace HoistingCrane;
+
+//В данном классе мы будем думать над полем игры, размерами персонажа, размерами объектов и т.д.
+public class DrawningHoistingCrane
+{
+ ///
+ /// Класс - сущность
+ ///
+ public EntityHoistingCrane? EntityHoistingCrane { get; private set; }
+
+ ///
+ /// Ширина окна
+ ///
+ private int? _pictureWidth;
+
+ ///
+ /// Длина окна
+ ///
+ private int? _pictureHeight;
+
+ ///
+ /// Стартовая позиция по х
+ ///
+ private int? _startPosX;
+ ///
+ /// Стартовая позиция по у
+ ///
+ private int? _startPosY;
+
+ ///
+ /// Ширина прорисовки автомобиля
+ ///
+ private readonly int _drawingCarWidth = 80;
+ ///
+ /// Высота прорисовки автомобиля
+ ///
+ private readonly int _drawingCarHeight = 67;
+
+
+ public void Init(int speed, double weight, Color bodyColor, Color additionalColor)
+ {
+ EntityHoistingCrane = new EntityHoistingCrane();
+ EntityHoistingCrane.Init(speed, weight, bodyColor, additionalColor);
+ _pictureWidth = null;
+ _pictureHeight = null;
+ _startPosX = null;
+ _startPosY = null;
+
+ }
+
+
+
+
+ ///
+ /// Метод отрисовки игрового поля
+ ///
+ /// Ширина поля
+ /// Высота поля
+ ///
+
+ public bool SetPictureSize(int width, int height)
+ {
+ if ((width < _drawingCarWidth) || (height < _drawingCarHeight))
+ {
+ return false;
+ }
+ // TODO проверка, что объект "влезает" в размеры поля
+ // если влезает, сохраняем границы и корректируем позицию объекта, если она была уже установлена
+ _pictureWidth = width;
+ _pictureHeight = height;
+
+
+
+ return true;
+ }
+
+
+
+ ///
+ /// Установим позицию игрока
+ ///
+ /// Координата по Х
+ /// Координата по У
+ public void SetPosition(int x, int y)
+ {
+ //Если размеры были заданы, то присваиваем х и у, иначе выходим из метода
+ if (!_pictureHeight.HasValue || !_pictureWidth.HasValue)
+ {
+ return;
+ }
+
+ if ((x + _drawingCarWidth > _pictureWidth) && (y + _drawingCarHeight > _pictureHeight))
+ {
+ _startPosX = x - _drawingCarWidth;
+ _startPosY = y - _drawingCarHeight;
+ }
+ else if ((x + _drawingCarWidth <= _pictureWidth) && (y + _drawingCarHeight > _pictureHeight))
+ {
+ _startPosX = x;
+ _startPosY = y - _drawingCarHeight;
+ }
+ else if ((x + _drawingCarWidth > _pictureWidth) && (y + _drawingCarHeight <= _pictureHeight))
+ {
+ _startPosX = x - _drawingCarWidth;
+ _startPosY = y;
+ }
+ else
+ {
+ _startPosX = x;
+ _startPosY = y;
+ }
+
+
+
+
+ }
+
+ ///
+ /// Перемещение машины
+ ///
+ ///
+ ///
+ public bool MoveTransport(DirectionType direction)
+ {
+ if (EntityHoistingCrane == null || !_startPosX.HasValue || !_startPosY.HasValue)
+ {
+ return false;
+ }
+
+ switch (direction)
+ {
+ //влево
+ case DirectionType.Left:
+ if (_startPosX.Value - EntityHoistingCrane.Step > 0)
+ {
+ _startPosX -= (int)EntityHoistingCrane.Step;
+ }
+
+ return true;
+ //вверх
+ case DirectionType.Up:
+ if (_startPosY.Value - EntityHoistingCrane.Step > 0)
+ {
+ _startPosY -= (int)EntityHoistingCrane.Step;
+ }
+ return true;
+
+ //вправо
+ case DirectionType.Right:
+ if (_startPosX.Value + EntityHoistingCrane.Step + _drawingCarWidth < _pictureWidth)
+ {
+ _startPosX += (int)EntityHoistingCrane.Step;
+ }
+ return true;
+
+ //вниз
+ case DirectionType.Down:
+ if (_startPosY.Value + EntityHoistingCrane.Step + _drawingCarHeight < _pictureHeight)
+ {
+ _startPosY += (int)EntityHoistingCrane.Step;
+ }
+ return true;
+
+ default: return false;
+
+
+ }
+
+
+
+
+ }
+
+ ///
+ /// Метод отрисовки объекта
+ ///
+ ///
+ public void DrawTransport(Graphics gr)
+ {
+ if (EntityHoistingCrane == null || !_startPosX.HasValue || !_startPosY.HasValue)
+ {
+ return;
+ }
+ Pen pen = new Pen(Color.Black);
+
+
+
+
+
+
+ //границы
+ gr.DrawRectangle(pen, _startPosX.Value, _startPosY.Value + 25, 75, 20);
+ gr.DrawRectangle(pen, _startPosX.Value, _startPosY.Value, 25, 25);
+ gr.DrawRectangle(pen, _startPosX.Value + 4, _startPosY.Value + 4, 17, 17);
+ gr.DrawRectangle(pen, _startPosX.Value + 52, _startPosY.Value + 7, 6, 18);
+ gr.DrawEllipse(pen, _startPosX.Value - 5, _startPosY.Value + 45, 20, 20);
+ gr.DrawEllipse(pen, _startPosX.Value + 63, _startPosY.Value + 45, 20, 20);
+ gr.DrawRectangle(pen, _startPosX.Value + 5, _startPosY.Value + 45, 68, 20);
+ gr.DrawEllipse(pen, _startPosX.Value - 1, _startPosY.Value + 46, 18, 18);
+ gr.DrawEllipse(pen, _startPosX.Value + 62, _startPosY.Value + 46, 18, 18);
+ gr.DrawEllipse(pen, _startPosX.Value + 20, _startPosY.Value + 53, 10, 10);
+ gr.DrawEllipse(pen, _startPosX.Value + 35, _startPosY.Value + 53, 10, 10);
+ gr.DrawEllipse(pen, _startPosX.Value + 50, _startPosY.Value + 53, 10, 10);
+ gr.DrawRectangle(pen, _startPosX.Value + 30, _startPosY.Value + 45, 4, 6);
+ gr.DrawRectangle(pen, _startPosX.Value + 45, _startPosY.Value + 45, 4, 6);
+
+
+
+
+
+
+ //корпус
+ Brush br = new SolidBrush(EntityHoistingCrane.BodyColor);
+ gr.FillRectangle(br, _startPosX.Value, _startPosY.Value + 25, 75, 25);
+ gr.FillRectangle(br, _startPosX.Value, _startPosY.Value, 25, 25);
+
+
+
+
+ //окно
+ Brush brq = new SolidBrush(EntityHoistingCrane.AdditionalColor);
+ gr.FillRectangle(brq, _startPosX.Value + 4, _startPosY.Value + 4, 17, 17);
+
+
+
+ //выхлопная труба
+ Brush brBlack = new SolidBrush(Color.Black);
+ gr.FillRectangle(brBlack, _startPosX.Value + 52, _startPosY.Value + 7, 6, 18);
+
+
+ //гусеница
+ Brush brDarkGray = new SolidBrush(Color.DarkGray);
+ gr.FillEllipse(brDarkGray, _startPosX.Value - 5, _startPosY.Value + 45, 20, 20);
+ gr.FillEllipse(brDarkGray, _startPosX.Value + 63, _startPosY.Value + 45, 20, 20);
+ gr.FillRectangle(brDarkGray, _startPosX.Value + 5, _startPosY.Value + 45, 68, 20);
+
+
+ gr.FillEllipse(brq, _startPosX.Value - 1, _startPosY.Value + 46, 18, 18);
+ gr.FillEllipse(brq, _startPosX.Value + 62, _startPosY.Value + 46, 18, 18);
+ gr.FillEllipse(brq, _startPosX.Value + 20, _startPosY.Value + 53, 10, 10);
+ gr.FillEllipse(brq, _startPosX.Value + 35, _startPosY.Value + 53, 10, 10);
+ gr.FillEllipse(brq, _startPosX.Value + 50, _startPosY.Value + 53, 10, 10);
+ gr.FillRectangle(brq, _startPosX.Value + 30, _startPosY.Value + 45, 4, 6);
+ gr.FillRectangle(brq, _startPosX.Value + 45, _startPosY.Value + 45, 4, 6);
+ }
+
+
+
+
+
+}
+
+
diff --git a/HoistingCrane/HoistingCrane/EntityHoistingCrane.cs b/HoistingCrane/HoistingCrane/EntityHoistingCrane.cs
new file mode 100644
index 0000000..1be6030
--- /dev/null
+++ b/HoistingCrane/HoistingCrane/EntityHoistingCrane.cs
@@ -0,0 +1,48 @@
+namespace HoistingCrane;
+
+
+
+public class EntityHoistingCrane
+{
+ ///
+ /// ,
+ ///
+ 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 => Speed * 100 / Weight;
+
+
+
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// .
+
+
+
+
+ public void Init(int Speed, double Weight, Color BodyColor, Color AdditionalColor)
+ {
+ this.Speed = Speed;
+ this.Weight = Weight;
+ this.BodyColor = BodyColor;
+ this.AdditionalColor = AdditionalColor;
+ }
+
+}
\ No newline at end of file
diff --git a/HoistingCrane/HoistingCrane/Form1.Designer.cs b/HoistingCrane/HoistingCrane/Form1.Designer.cs
deleted file mode 100644
index 32cdcd8..0000000
--- a/HoistingCrane/HoistingCrane/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace HoistingCrane
-{
- 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/HoistingCrane/HoistingCrane/Form1.cs b/HoistingCrane/HoistingCrane/Form1.cs
deleted file mode 100644
index 3820d41..0000000
--- a/HoistingCrane/HoistingCrane/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace HoistingCrane
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
\ No newline at end of file
diff --git a/HoistingCrane/HoistingCrane/FormHoistingCrane.Designer.cs b/HoistingCrane/HoistingCrane/FormHoistingCrane.Designer.cs
new file mode 100644
index 0000000..3f8792b
--- /dev/null
+++ b/HoistingCrane/HoistingCrane/FormHoistingCrane.Designer.cs
@@ -0,0 +1,130 @@
+using Microsoft.VisualBasic.ApplicationServices;
+using System.ComponentModel.Design;
+using System.Resources;
+
+namespace HoistingCrane
+{
+ partial class FormHoistingCrane
+ {
+
+ private System.ComponentModel.IContainer components = null;
+
+
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+
+
+
+ private void InitializeComponent()
+ {
+ pictureBoxHoistingCrane = new PictureBox();
+ buttonCreate = new Button();
+ ButtonLeft = new Button();
+ ButtonRight = new Button();
+ ButtonUp = new Button();
+ ButtonDown = new Button();
+ ((System.ComponentModel.ISupportInitialize)pictureBoxHoistingCrane).BeginInit();
+ SuspendLayout();
+ //
+ // pictureBoxHoistingCrane
+ //
+ pictureBoxHoistingCrane.Dock = DockStyle.Fill;
+ pictureBoxHoistingCrane.Location = new Point(0, 0);
+ pictureBoxHoistingCrane.Name = "pictureBoxHoistingCrane";
+ pictureBoxHoistingCrane.Size = new Size(818, 515);
+ pictureBoxHoistingCrane.TabIndex = 0;
+ pictureBoxHoistingCrane.TabStop = false;
+ //
+ // buttonCreate
+ //
+ buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
+ buttonCreate.Location = new Point(0, 492);
+ buttonCreate.Name = "buttonCreate";
+ buttonCreate.Size = new Size(75, 23);
+ buttonCreate.TabIndex = 1;
+ buttonCreate.Text = "Создать";
+ buttonCreate.UseVisualStyleBackColor = true;
+ buttonCreate.Click += ButtonCreate_Click;
+ //
+ // ButtonLeft
+ //
+ ButtonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
+ ButtonLeft.BackgroundImage = Properties.Resources.left_arrow;
+ ButtonLeft.BackgroundImageLayout = ImageLayout.Stretch;
+ ButtonLeft.Location = new Point(118, 404);
+ ButtonLeft.Name = "ButtonLeft";
+ ButtonLeft.Size = new Size(40, 40);
+ ButtonLeft.TabIndex = 2;
+ ButtonLeft.UseVisualStyleBackColor = true;
+ ButtonLeft.Click += ButtonMove_Click;
+ //
+ // ButtonRight
+ //
+ ButtonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
+ ButtonRight.BackgroundImage = Properties.Resources.right_arrow;
+ ButtonRight.BackgroundImageLayout = ImageLayout.Stretch;
+ ButtonRight.Location = new Point(207, 404);
+ ButtonRight.Name = "ButtonRight";
+ ButtonRight.Size = new Size(40, 40);
+ ButtonRight.TabIndex = 3;
+ ButtonRight.UseVisualStyleBackColor = true;
+ ButtonRight.Click += ButtonMove_Click;
+ //
+ // ButtonUp
+ //
+ ButtonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
+ ButtonUp.BackgroundImage = Properties.Resources.up_arrow;
+ ButtonUp.BackgroundImageLayout = ImageLayout.Stretch;
+ ButtonUp.Location = new Point(164, 367);
+ ButtonUp.Name = "ButtonUp";
+ ButtonUp.Size = new Size(40, 40);
+ ButtonUp.TabIndex = 4;
+ ButtonUp.UseVisualStyleBackColor = true;
+ ButtonUp.Click += ButtonMove_Click;
+ //
+ // ButtonDown
+ //
+ ButtonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
+ ButtonDown.BackgroundImage = Properties.Resources.arrow_down_sign_to_navigate;
+ ButtonDown.BackgroundImageLayout = ImageLayout.Stretch;
+ ButtonDown.Location = new Point(164, 440);
+ ButtonDown.Name = "ButtonDown";
+ ButtonDown.Size = new Size(40, 40);
+ ButtonDown.TabIndex = 5;
+ ButtonDown.UseVisualStyleBackColor = true;
+ ButtonDown.Click += ButtonMove_Click;
+ //
+ // FormHoistingCrane
+ //
+ AutoScaleDimensions = new SizeF(7F, 15F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(818, 515);
+ Controls.Add(ButtonDown);
+ Controls.Add(ButtonUp);
+ Controls.Add(ButtonRight);
+ Controls.Add(ButtonLeft);
+ Controls.Add(buttonCreate);
+ Controls.Add(pictureBoxHoistingCrane);
+ Name = "FormHoistingCrane";
+ Text = "Подъемный кран";
+ ((System.ComponentModel.ISupportInitialize)pictureBoxHoistingCrane).EndInit();
+ ResumeLayout(false);
+ }
+
+ // #endregion
+
+ private PictureBox pictureBoxHoistingCrane;
+ private Button buttonCreate;
+ private Button ButtonLeft;
+ private Button ButtonRight;
+ private Button ButtonUp;
+ private Button ButtonDown;
+ }
+}
\ No newline at end of file
diff --git a/HoistingCrane/HoistingCrane/FormHoistingCrane.cs b/HoistingCrane/HoistingCrane/FormHoistingCrane.cs
new file mode 100644
index 0000000..3bf841b
--- /dev/null
+++ b/HoistingCrane/HoistingCrane/FormHoistingCrane.cs
@@ -0,0 +1,65 @@
+namespace HoistingCrane
+{
+ public partial class FormHoistingCrane : Form
+ {
+
+ private DrawningHoistingCrane? _drawningHoistingCrane;
+
+ public FormHoistingCrane()
+ {
+ InitializeComponent();
+ }
+
+ private void Draw()
+ {
+ Bitmap bmp = new(pictureBoxHoistingCrane.Width, pictureBoxHoistingCrane.Height);
+ Graphics gr = Graphics.FromImage(bmp);
+ _drawningHoistingCrane?.DrawTransport(gr);
+ pictureBoxHoistingCrane.Image = bmp;
+ }
+
+ private void ButtonCreate_Click(object sender, EventArgs e)
+ {
+
+ Random rand = new();
+ _drawningHoistingCrane = new DrawningHoistingCrane();
+ _drawningHoistingCrane.Init(rand.Next(100, 300), rand.Next(1000, 3000),
+ Color.FromArgb(rand.Next(0, 256), rand.Next(0, 256), rand.Next(0, 256)),
+ Color.FromArgb(rand.Next(0, 256), rand.Next(0, 256), rand.Next(0, 256)));
+ _drawningHoistingCrane.SetPictureSize(pictureBoxHoistingCrane.Width, pictureBoxHoistingCrane.Height);
+ _drawningHoistingCrane.SetPosition(rand.Next(0, 100), rand.Next(0, 100));
+ Draw();
+
+ }
+
+ private void ButtonMove_Click(object sender, EventArgs e)
+ {
+ if (_drawningHoistingCrane == null) { return; }
+ String name = ((Button)sender)?.Name ?? string.Empty;
+ bool result = false;
+ switch (name)
+ {
+ case "ButtonUp":
+ result = _drawningHoistingCrane.MoveTransport(DirectionType.Up);
+ break;
+ case "ButtonDown":
+ result = _drawningHoistingCrane.MoveTransport(DirectionType.Down);
+ break;
+ case "ButtonRight":
+ result = _drawningHoistingCrane.MoveTransport(DirectionType.Right);
+ break;
+ case "ButtonLeft":
+ result = _drawningHoistingCrane.MoveTransport(DirectionType.Left);
+ break;
+ }
+ if (result)
+ {
+ Draw();
+
+ }
+
+ }
+
+
+ }
+}
diff --git a/HoistingCrane/HoistingCrane/FormHoistingCrane.resx b/HoistingCrane/HoistingCrane/FormHoistingCrane.resx
new file mode 100644
index 0000000..af32865
--- /dev/null
+++ b/HoistingCrane/HoistingCrane/FormHoistingCrane.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/HoistingCrane/HoistingCrane/HoistingCrane.csproj b/HoistingCrane/HoistingCrane/HoistingCrane.csproj
index e1a0735..244387d 100644
--- a/HoistingCrane/HoistingCrane/HoistingCrane.csproj
+++ b/HoistingCrane/HoistingCrane/HoistingCrane.csproj
@@ -8,4 +8,19 @@
enable
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
\ No newline at end of file
diff --git a/HoistingCrane/HoistingCrane/Program.cs b/HoistingCrane/HoistingCrane/Program.cs
index 315551e..fbb985e 100644
--- a/HoistingCrane/HoistingCrane/Program.cs
+++ b/HoistingCrane/HoistingCrane/Program.cs
@@ -11,7 +11,7 @@ namespace HoistingCrane
// 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 FormHoistingCrane());
}
}
}
\ No newline at end of file
diff --git a/HoistingCrane/HoistingCrane/Properties/Resources.Designer.cs b/HoistingCrane/HoistingCrane/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..0ea60d8
--- /dev/null
+++ b/HoistingCrane/HoistingCrane/Properties/Resources.Designer.cs
@@ -0,0 +1,103 @@
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+namespace HoistingCrane.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("HoistingCrane.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_down_sign_to_navigate {
+ get {
+ object obj = ResourceManager.GetObject("arrow-down-sign-to-navigate", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap left_arrow {
+ get {
+ object obj = ResourceManager.GetObject("left-arrow", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap right_arrow {
+ get {
+ object obj = ResourceManager.GetObject("right-arrow", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap up_arrow {
+ get {
+ object obj = ResourceManager.GetObject("up-arrow", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/HoistingCrane/HoistingCrane/Properties/Resources.resx b/HoistingCrane/HoistingCrane/Properties/Resources.resx
new file mode 100644
index 0000000..965a03e
--- /dev/null
+++ b/HoistingCrane/HoistingCrane/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\right-arrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\left-arrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\up-arrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\arrow-down-sign-to-navigate.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
\ No newline at end of file
diff --git a/HoistingCrane/HoistingCrane/Resources/arrow-down-sign-to-navigate.png b/HoistingCrane/HoistingCrane/Resources/arrow-down-sign-to-navigate.png
new file mode 100644
index 0000000..4619cb7
Binary files /dev/null and b/HoistingCrane/HoistingCrane/Resources/arrow-down-sign-to-navigate.png differ
diff --git a/HoistingCrane/HoistingCrane/Resources/left-arrow.png b/HoistingCrane/HoistingCrane/Resources/left-arrow.png
new file mode 100644
index 0000000..d931587
Binary files /dev/null and b/HoistingCrane/HoistingCrane/Resources/left-arrow.png differ
diff --git a/HoistingCrane/HoistingCrane/Resources/right-arrow.png b/HoistingCrane/HoistingCrane/Resources/right-arrow.png
new file mode 100644
index 0000000..f224f62
Binary files /dev/null and b/HoistingCrane/HoistingCrane/Resources/right-arrow.png differ
diff --git a/HoistingCrane/HoistingCrane/Resources/up-arrow.png b/HoistingCrane/HoistingCrane/Resources/up-arrow.png
new file mode 100644
index 0000000..70d1728
Binary files /dev/null and b/HoistingCrane/HoistingCrane/Resources/up-arrow.png differ