From 8b3ca3dcd729ab88595f058b34271f2402476b07 Mon Sep 17 00:00:00 2001
From: Samecoins <146867889+Samecoins@users.noreply.github.com>
Date: Mon, 18 Mar 2024 01:04:25 +0400
Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82?=
=?UTF-8?q?=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?=
=?UTF-8?q?=D0=B0=20=E2=84=961?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../ProjectDumpTruck/DirectionType.cs | 35 +++
.../ProjectDumpTruck/DrawningDumpTruck.cs | 237 ++++++++++++++++++
.../ProjectDumpTruck/EntityDumpTruck.cs | 70 ++++++
.../ProjectDumpTruck/Form1.Designer.cs | 39 ---
ProjectDumpTruck/ProjectDumpTruck/Form1.cs | 10 -
.../FormTransport.Designer.cs | 134 ++++++++++
.../ProjectDumpTruck/FormTransport.cs | 104 ++++++++
.../{Form1.resx => FormTransport.resx} | 50 ++--
ProjectDumpTruck/ProjectDumpTruck/Program.cs | 2 +-
.../ProjectDumpTruck/ProjectDumpTruck.csproj | 15 ++
.../Properties/Resources.Designer.cs | 103 ++++++++
.../Properties/Resources.resx | 133 ++++++++++
.../ProjectDumpTruck/Resources/ArrowDown.png | Bin 0 -> 6314 bytes
.../ProjectDumpTruck/Resources/ArrowLeft.png | Bin 0 -> 6428 bytes
.../ProjectDumpTruck/Resources/ArrowRight.png | Bin 0 -> 6357 bytes
.../ProjectDumpTruck/Resources/ArrowUp.png | Bin 0 -> 5667 bytes
16 files changed, 857 insertions(+), 75 deletions(-)
create mode 100644 ProjectDumpTruck/ProjectDumpTruck/DirectionType.cs
create mode 100644 ProjectDumpTruck/ProjectDumpTruck/DrawningDumpTruck.cs
create mode 100644 ProjectDumpTruck/ProjectDumpTruck/EntityDumpTruck.cs
delete mode 100644 ProjectDumpTruck/ProjectDumpTruck/Form1.Designer.cs
delete mode 100644 ProjectDumpTruck/ProjectDumpTruck/Form1.cs
create mode 100644 ProjectDumpTruck/ProjectDumpTruck/FormTransport.Designer.cs
create mode 100644 ProjectDumpTruck/ProjectDumpTruck/FormTransport.cs
rename ProjectDumpTruck/ProjectDumpTruck/{Form1.resx => FormTransport.resx} (93%)
create mode 100644 ProjectDumpTruck/ProjectDumpTruck/Properties/Resources.Designer.cs
create mode 100644 ProjectDumpTruck/ProjectDumpTruck/Properties/Resources.resx
create mode 100644 ProjectDumpTruck/ProjectDumpTruck/Resources/ArrowDown.png
create mode 100644 ProjectDumpTruck/ProjectDumpTruck/Resources/ArrowLeft.png
create mode 100644 ProjectDumpTruck/ProjectDumpTruck/Resources/ArrowRight.png
create mode 100644 ProjectDumpTruck/ProjectDumpTruck/Resources/ArrowUp.png
diff --git a/ProjectDumpTruck/ProjectDumpTruck/DirectionType.cs b/ProjectDumpTruck/ProjectDumpTruck/DirectionType.cs
new file mode 100644
index 0000000..a3eb262
--- /dev/null
+++ b/ProjectDumpTruck/ProjectDumpTruck/DirectionType.cs
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProjectDumpTruck;
+
+///
+/// Направление перемещения
+///
+public enum DirectionType
+{
+ ///
+ /// Вверх
+ ///
+ Up = 1,
+
+ ///
+ /// Вниз
+ ///
+ Down = 2,
+
+ ///
+ /// Влево
+ ///
+ Left = 3,
+
+ ///
+ /// Вправо
+ ///
+ Right = 4
+
+
+}
\ No newline at end of file
diff --git a/ProjectDumpTruck/ProjectDumpTruck/DrawningDumpTruck.cs b/ProjectDumpTruck/ProjectDumpTruck/DrawningDumpTruck.cs
new file mode 100644
index 0000000..b955b72
--- /dev/null
+++ b/ProjectDumpTruck/ProjectDumpTruck/DrawningDumpTruck.cs
@@ -0,0 +1,237 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProjectDumpTruck;
+
+///
+/// Класс, отвечающий за прорисовку и перемещение объекта-сущности
+///
+public class DrawningDumpTruck
+{
+ ///
+ /// Класс-сущность
+ ///
+ public EntityDumpTruck? EntityDumpTruck { get; private set; }
+
+ ///
+ /// Ширина окна
+ ///
+ private int? _pictureWidth;
+
+ ///
+ /// Высота окна
+ ///
+ private int? _pictureHeight;
+
+ ///
+ /// Левая координата прорисовки самосвала
+ ///
+ private int? _startPosX;
+
+ ///
+ /// Верхняя координата прорисовки самосвала
+ ///
+ private int? _startPosY;
+
+ ///
+ /// Ширина прорисовки самосвала
+ ///
+ private readonly int _drawningDumpTruckWidth = 130;
+
+ ///
+ /// Высота прорисовки самосвала
+ ///
+ private readonly int _drawningDumpTruckHeight = 90;
+
+
+
+ ///
+ /// Инициализация свойств
+ ///
+ /// Скорость
+ /// Вес
+ /// Основной цвет
+ /// Дополнительный цвет
+ /// Признак наличия кузова
+ /// Признак наличия тента
+
+
+ public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool bodywork, bool awning)
+ {
+ EntityDumpTruck = new EntityDumpTruck();
+ EntityDumpTruck.Init(speed, weight, bodyColor, additionalColor, bodywork, awning);
+ _pictureWidth = null;
+ _pictureHeight = null;
+ _startPosX = null;
+ _startPosY = null;
+ }
+
+
+
+
+ ///
+ /// Установка границ поля
+ ///
+ /// Ширина поля
+ /// Высота поля
+ /// true - границы заданы, false - проверка не пройдена, нельзя разместить объект в этих размерах
+ public bool SetPictureSize(int width, int height)
+ {
+ // TODO проверка, что объект "влезает" в размеры поля
+ // если влезает, сохраняем границы и корректируем позицию объекта, если она была уже установлена
+ if (_drawningDumpTruckWidth > width || _drawningDumpTruckHeight > height)
+ {
+ return false;
+ }
+
+ _pictureWidth = width;
+ _pictureHeight = height;
+
+ if (_startPosX.HasValue && _startPosX.Value + _drawningDumpTruckWidth > _pictureWidth)
+ {
+ _startPosX = _pictureWidth - _drawningDumpTruckWidth;
+ }
+
+ if (_startPosY.HasValue && _startPosY.Value + _drawningDumpTruckHeight > _pictureHeight)
+ {
+ _startPosY = _pictureHeight - _drawningDumpTruckHeight;
+ }
+
+ return true;
+ }
+
+ ///
+ /// Установка позиции
+ ///
+ /// Координата X
+ /// Координата Y
+ public void SetPosition(int x, int y)
+ {
+ if (!_pictureHeight.HasValue || !_pictureWidth.HasValue)
+ {
+ return;
+ }
+ // TODO если при установке объекта в эти координаты, он будет "выходить" за границы формы
+ // то надо изменить координаты, чтобы он оставался в этих границах
+
+ if (x + _drawningDumpTruckWidth > _pictureWidth)
+ {
+ x = (int)_pictureWidth - _drawningDumpTruckWidth;
+ }
+ if (y + _drawningDumpTruckHeight > _pictureHeight)
+ {
+ y = (int)_pictureHeight - _drawningDumpTruckHeight;
+ }
+ if (x < 0)
+ {
+ x = 0;
+ }
+ if (y < 0)
+ {
+ y = 0;
+ }
+
+ _startPosX = x;
+ _startPosY = y;
+
+ }
+ ///
+ /// Изменение направления перемещения
+ ///
+ /// Направление
+ /// true - перемещение выполнено, false - перемещение невозможно
+ public bool MoveTransport(DirectionType direction)
+ {
+ if (EntityDumpTruck == null || !_startPosX.HasValue || !_startPosY.HasValue)
+ {
+ return false;
+ }
+
+ switch (direction)
+ {
+ //влево
+ case DirectionType.Left:
+ if (_startPosX.Value - EntityDumpTruck.Step > 0)
+ {
+ _startPosX -= (int)EntityDumpTruck.Step;
+ }
+ return true;
+
+ //вверх
+ case DirectionType.Up:
+ if (_startPosY.Value - EntityDumpTruck.Step > 0)
+ {
+ _startPosY -= (int)EntityDumpTruck.Step;
+ }
+ return true;
+
+ //вправо
+ case DirectionType.Right:
+ if (_startPosX.Value + EntityDumpTruck.Step + _drawningDumpTruckWidth < _pictureWidth)
+ {
+ _startPosX += (int)EntityDumpTruck.Step;
+ }
+ return true;
+
+ //вниз
+ case DirectionType.Down:
+ if (_startPosY.Value + EntityDumpTruck.Step + _drawningDumpTruckHeight < _pictureHeight)
+ {
+ _startPosY += (int)EntityDumpTruck.Step;
+ }
+ return true;
+ default:
+ return false;
+ }
+
+ }
+
+ public void DrawTransport(Graphics g)
+ {
+ if (EntityDumpTruck == null || !_startPosX.HasValue || !_startPosY.HasValue)
+ {
+ return;
+ }
+
+ Pen pen = new(Color.Black);
+ Brush additionalBrush = new SolidBrush(EntityDumpTruck.AdditionalColor);
+
+ //Отрисовка основы (кабины водителя и днища)
+ Brush body = new SolidBrush(EntityDumpTruck.BodyColor);
+ g.FillRectangle(body, _startPosX.Value + 100, _startPosY.Value, 30, 35);
+ g.FillRectangle(body, _startPosX.Value, _startPosY.Value + 40, 130, 20);
+
+ //Отрисовка колёс
+ Brush wheels = new SolidBrush(Color.Gray);
+ g.FillEllipse(wheels, _startPosX.Value, _startPosY.Value + 60, 30, 30);
+ g.FillEllipse(wheels, _startPosX.Value + 30, _startPosY.Value + 60, 30, 30);
+ g.FillEllipse(wheels, _startPosX.Value + 100, _startPosY.Value + 60, 30, 30);
+
+ //Отрисовка границ
+ Brush border = new SolidBrush(Color.Black);
+ g.DrawRectangle(pen, _startPosX.Value + 100, _startPosY.Value, 30, 35);
+ g.DrawRectangle(pen, _startPosX.Value, _startPosY.Value + 40, 130, 20);
+ g.DrawEllipse(pen, _startPosX.Value, _startPosY.Value + 60, 30, 30);
+ g.DrawEllipse(pen, _startPosX.Value + 30, _startPosY.Value + 60, 30, 30);
+ g.DrawEllipse(pen, _startPosX.Value + 100, _startPosY.Value + 60, 30, 30);
+
+ //Отрисовка кузова
+ if (EntityDumpTruck.Bodywork)
+ {
+ g.FillRectangle(additionalBrush, _startPosX.Value, _startPosY.Value, 90, 35);
+ }
+
+ //Отрисовка тента
+ if (EntityDumpTruck.Bodywork & EntityDumpTruck.Awning)
+ {
+ g.FillRectangle(border, _startPosX.Value, _startPosY.Value, 95, 10);
+ g.FillRectangle(border, _startPosX.Value, _startPosY.Value, 95, 3);
+ g.FillRectangle(border, _startPosX.Value + 30, _startPosY.Value, 3, 40);
+ g.FillRectangle(border, _startPosX.Value + 70, _startPosY.Value, 3, 40);
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/ProjectDumpTruck/ProjectDumpTruck/EntityDumpTruck.cs b/ProjectDumpTruck/ProjectDumpTruck/EntityDumpTruck.cs
new file mode 100644
index 0000000..edf756f
--- /dev/null
+++ b/ProjectDumpTruck/ProjectDumpTruck/EntityDumpTruck.cs
@@ -0,0 +1,70 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProjectDumpTruck;
+
+///
+/// Класс-сущность "Самосвал"
+///
+public class EntityDumpTruck
+{
+ ///
+ /// Скорость
+ ///
+ 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 Bodywork { get; private set; }
+
+ ///
+ /// Признак (опция) наличия тента
+ ///
+ public bool Awning { get; private set; }
+
+ ///
+ /// Шаг перемещения самосвала
+ ///
+ public double Step => Speed * 100 / Weight;
+
+ ///
+ /// Инициализация полей объекта-класса самосвала
+ ///
+ /// Скорость
+ /// Вес
+ /// Основной цвет
+ /// Дополнительный цвет
+ /// Признак наличия кузова
+ /// Признак наличия тента
+
+ public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool bodywork, bool awning)
+ {
+ Speed = speed;
+ Weight = weight;
+ BodyColor = bodyColor;
+ AdditionalColor = additionalColor;
+ Bodywork = bodywork;
+ Awning = awning;
+ }
+
+
+}
\ No newline at end of file
diff --git a/ProjectDumpTruck/ProjectDumpTruck/Form1.Designer.cs b/ProjectDumpTruck/ProjectDumpTruck/Form1.Designer.cs
deleted file mode 100644
index d4f3db3..0000000
--- a/ProjectDumpTruck/ProjectDumpTruck/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace ProjectDumpTruck
-{
- 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/ProjectDumpTruck/ProjectDumpTruck/Form1.cs b/ProjectDumpTruck/ProjectDumpTruck/Form1.cs
deleted file mode 100644
index 0c5b5ab..0000000
--- a/ProjectDumpTruck/ProjectDumpTruck/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace ProjectDumpTruck
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/ProjectDumpTruck/ProjectDumpTruck/FormTransport.Designer.cs b/ProjectDumpTruck/ProjectDumpTruck/FormTransport.Designer.cs
new file mode 100644
index 0000000..f0f09de
--- /dev/null
+++ b/ProjectDumpTruck/ProjectDumpTruck/FormTransport.Designer.cs
@@ -0,0 +1,134 @@
+namespace ProjectDumpTruck
+{
+ partial class FormTransport
+ {
+ ///
+ /// 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()
+ {
+ pictureBoxDumpTruck = new PictureBox();
+ buttonLeft = new Button();
+ buttonUp = new Button();
+ buttonDown = new Button();
+ buttonRight = new Button();
+ buttonCreateDumpTruck = new Button();
+ ((System.ComponentModel.ISupportInitialize)pictureBoxDumpTruck).BeginInit();
+ SuspendLayout();
+ //
+ // pictureBoxDumpTruck
+ //
+ pictureBoxDumpTruck.Dock = DockStyle.Fill;
+ pictureBoxDumpTruck.Location = new Point(0, 0);
+ pictureBoxDumpTruck.Name = "pictureBoxDumpTruck";
+ pictureBoxDumpTruck.Size = new Size(1017, 533);
+ pictureBoxDumpTruck.TabIndex = 0;
+ pictureBoxDumpTruck.TabStop = false;
+ //
+ // buttonLeft
+ //
+ buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonLeft.BackgroundImage = Properties.Resources.ArrowLeft;
+ buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonLeft.Location = new Point(888, 486);
+ buttonLeft.Name = "buttonLeft";
+ buttonLeft.Size = new Size(35, 35);
+ buttonLeft.TabIndex = 1;
+ 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(929, 445);
+ buttonUp.Name = "buttonUp";
+ buttonUp.Size = new Size(35, 35);
+ buttonUp.TabIndex = 2;
+ buttonUp.UseVisualStyleBackColor = true;
+ buttonUp.Click += ButtonMove_Click;
+ //
+ // buttonDown
+ //
+ buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonDown.BackgroundImage = Properties.Resources.ArrowDown;
+ buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonDown.Location = new Point(929, 486);
+ buttonDown.Name = "buttonDown";
+ buttonDown.Size = new Size(35, 35);
+ buttonDown.TabIndex = 3;
+ buttonDown.UseVisualStyleBackColor = true;
+ buttonDown.Click += ButtonMove_Click;
+ //
+ // buttonRight
+ //
+ buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonRight.BackgroundImage = Properties.Resources.ArrowRight;
+ buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonRight.Location = new Point(970, 486);
+ buttonRight.Name = "buttonRight";
+ buttonRight.Size = new Size(35, 35);
+ buttonRight.TabIndex = 4;
+ buttonRight.UseVisualStyleBackColor = true;
+ buttonRight.Click += ButtonMove_Click;
+ //
+ // buttonCreateDumpTruck
+ //
+ buttonCreateDumpTruck.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
+ buttonCreateDumpTruck.Location = new Point(12, 498);
+ buttonCreateDumpTruck.Name = "buttonCreateDumpTruck";
+ buttonCreateDumpTruck.Size = new Size(75, 23);
+ buttonCreateDumpTruck.TabIndex = 5;
+ buttonCreateDumpTruck.Text = "Создать";
+ buttonCreateDumpTruck.UseVisualStyleBackColor = true;
+ buttonCreateDumpTruck.Click += ButtonCreateDumpTruck_Click;
+ //
+ // FormTransport
+ //
+ AutoScaleDimensions = new SizeF(7F, 15F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(1017, 533);
+ Controls.Add(buttonCreateDumpTruck);
+ Controls.Add(buttonRight);
+ Controls.Add(buttonDown);
+ Controls.Add(buttonUp);
+ Controls.Add(buttonLeft);
+ Controls.Add(pictureBoxDumpTruck);
+ Name = "FormTransport";
+ Text = "FormTransport";
+ ((System.ComponentModel.ISupportInitialize)pictureBoxDumpTruck).EndInit();
+ ResumeLayout(false);
+ }
+
+ #endregion
+
+ private PictureBox pictureBoxDumpTruck;
+ private Button buttonLeft;
+ private Button buttonUp;
+ private Button buttonDown;
+ private Button buttonRight;
+ private Button buttonCreateDumpTruck;
+ }
+}
\ No newline at end of file
diff --git a/ProjectDumpTruck/ProjectDumpTruck/FormTransport.cs b/ProjectDumpTruck/ProjectDumpTruck/FormTransport.cs
new file mode 100644
index 0000000..e196619
--- /dev/null
+++ b/ProjectDumpTruck/ProjectDumpTruck/FormTransport.cs
@@ -0,0 +1,104 @@
+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 ProjectDumpTruck
+{
+ public partial class FormTransport : Form
+ {
+ ///
+ /// Поле-объект для прорисовки объекта
+ ///
+ private DrawningDumpTruck? _drawningDumpTruck;
+
+ ///
+ /// Конструктор формы
+ ///
+ public FormTransport()
+ {
+ InitializeComponent();
+ }
+
+ ///
+ /// Метод прорисовки машины
+ ///
+ private void Draw()
+ {
+ if (_drawningDumpTruck == null)
+ {
+ return;
+ }
+
+ Bitmap bmp = new(pictureBoxDumpTruck.Width, pictureBoxDumpTruck.Height);
+ Graphics gr = Graphics.FromImage(bmp);
+ _drawningDumpTruck.DrawTransport(gr);
+ pictureBoxDumpTruck.Image = bmp;
+ }
+
+ ///
+ /// Обработка нажатия кнопки "Создать"
+ ///
+ ///
+ ///
+ private void ButtonCreateDumpTruck_Click(object sender, EventArgs e)
+ {
+ Random random = new();
+ _drawningDumpTruck = new DrawningDumpTruck();
+ _drawningDumpTruck.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)));
+
+ _drawningDumpTruck.SetPictureSize(pictureBoxDumpTruck.Width, pictureBoxDumpTruck.Height);
+ _drawningDumpTruck.SetPosition(random.Next(10, 100), random.Next(10, 100));
+
+ Draw();
+ }
+
+ ///
+ /// Перемещение объекта по форме (нажатие кнопок навигации)
+ ///
+ ///
+ ///
+ private void ButtonMove_Click(object sender, EventArgs e)
+ {
+ if (_drawningDumpTruck == null)
+ {
+ return;
+ }
+
+ string name = ((Button)sender)?.Name ?? string.Empty;
+ bool result = false;
+
+ switch (name)
+ {
+ case "buttonUp":
+ result = _drawningDumpTruck.MoveTransport(DirectionType.Up);
+ break;
+ case "buttonDown":
+ result = _drawningDumpTruck.MoveTransport(DirectionType.Down);
+ break;
+ case "buttonLeft":
+ result = _drawningDumpTruck.MoveTransport(DirectionType.Left);
+ break;
+ case "buttonRight":
+ result = _drawningDumpTruck.MoveTransport(DirectionType.Right);
+ break;
+ }
+ if (result)
+ {
+ Draw();
+ }
+
+ }
+ }
+}
diff --git a/ProjectDumpTruck/ProjectDumpTruck/Form1.resx b/ProjectDumpTruck/ProjectDumpTruck/FormTransport.resx
similarity index 93%
rename from ProjectDumpTruck/ProjectDumpTruck/Form1.resx
rename to ProjectDumpTruck/ProjectDumpTruck/FormTransport.resx
index 1af7de1..af32865 100644
--- a/ProjectDumpTruck/ProjectDumpTruck/Form1.resx
+++ b/ProjectDumpTruck/ProjectDumpTruck/FormTransport.resx
@@ -1,17 +1,17 @@
-
diff --git a/ProjectDumpTruck/ProjectDumpTruck/Program.cs b/ProjectDumpTruck/ProjectDumpTruck/Program.cs
index 9977de0..b5d5161 100644
--- a/ProjectDumpTruck/ProjectDumpTruck/Program.cs
+++ b/ProjectDumpTruck/ProjectDumpTruck/Program.cs
@@ -11,7 +11,7 @@ namespace ProjectDumpTruck
// 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 FormTransport());
}
}
}
\ No newline at end of file
diff --git a/ProjectDumpTruck/ProjectDumpTruck/ProjectDumpTruck.csproj b/ProjectDumpTruck/ProjectDumpTruck/ProjectDumpTruck.csproj
index e1a0735..244387d 100644
--- a/ProjectDumpTruck/ProjectDumpTruck/ProjectDumpTruck.csproj
+++ b/ProjectDumpTruck/ProjectDumpTruck/ProjectDumpTruck.csproj
@@ -8,4 +8,19 @@
enable
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
\ No newline at end of file
diff --git a/ProjectDumpTruck/ProjectDumpTruck/Properties/Resources.Designer.cs b/ProjectDumpTruck/ProjectDumpTruck/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..6206302
--- /dev/null
+++ b/ProjectDumpTruck/ProjectDumpTruck/Properties/Resources.Designer.cs
@@ -0,0 +1,103 @@
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+namespace ProjectDumpTruck.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("ProjectDumpTruck.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/ProjectDumpTruck/ProjectDumpTruck/Properties/Resources.resx b/ProjectDumpTruck/ProjectDumpTruck/Properties/Resources.resx
new file mode 100644
index 0000000..1ee1a77
--- /dev/null
+++ b/ProjectDumpTruck/ProjectDumpTruck/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/ProjectDumpTruck/ProjectDumpTruck/Resources/ArrowDown.png b/ProjectDumpTruck/ProjectDumpTruck/Resources/ArrowDown.png
new file mode 100644
index 0000000000000000000000000000000000000000..73daef8f6b20c43707ef3c0df781c32652452149
GIT binary patch
literal 6314
zcmeHM>0eVxv#xVELJ*aNxPXX+fGlnVQE?-Q5)>5;BQUNQ5EVy76c=#89MO@*2so%9
ziU~6UuBfj&f-s_iQCVgLQ2`O7vI+(Xgpi!vj?TyX7u@@P;Fn6((@$4*cdDwJ1iz&V
zh7KM*7yyPY^bsrrz>$ap%@}?3L|1Fj2exzBf_acvF{TxLA;RV^nG0|;*-RTU2z@u*
z?z3_y8vM%ehowa9JqKXPTPTyL9If
zb{Dt)oc>&0lCnhh^mui-?W8A9CT?*FTr-t%Z^U%U>UP>X;?%?}`)?*Y1DY=+;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d=wp2K?eq`JRH{e*|y=0c~*7g@L7@d3TvYjxWI%BN7by`gFbl8_GJ1~UM)
zK(`TYG-~ofwXLxr3uHr%T>Wwc#%~vZZ;~>1F-|T;o%~dVu$F*K2FBr{;)Em%>;_LE
z6d{R;eKl4Hr34hxF#)PXXF=w{CNHAoOoyID1pT9u@gWKCCsTOL
zz=l|g*-SX%fZ9oc6VMhDPc~@h0{t8!+FDVW!}-BFO+VN3b-11S^XJa>z#mtQ)a0
zT?{ZS&2WP^z=SwVNj0#cOFcOx`#TJ=`NtSM(waiqYZm^wBJ<%DZcToheuLIdj0P+p
zsx0h#H;^}O@oDXrn9I|gGI#x>uisr8)a6E{@GuxOqv;5fit1R|-*s)}t&KGuZ*GY$
z2|e0k%_gfqH$*kYbjA)c8+%QNS)Fy8HER`*Sac(1pf_sm{x5gVq8hVjW6Wk}^z`*E
zvV26@YKzC#*Ecp-p7&f(o1447>G7|tOXsaq?QPDC
z62%O5jt4R}(C%xQeeyY7v6127B=$Yh{k=bF#)o*(@u3v+u;|<8^17KLvFo)(Bb?FeF-aa6@!uEP
i|F6%|&66VfdEHiPQ+DooF%SKJ0Ty~M739qej{P70gUwa|
literal 0
HcmV?d00001
diff --git a/ProjectDumpTruck/ProjectDumpTruck/Resources/ArrowLeft.png b/ProjectDumpTruck/ProjectDumpTruck/Resources/ArrowLeft.png
new file mode 100644
index 0000000000000000000000000000000000000000..b44ad6a3c8a05c43ff83626d7fcd538586510631
GIT binary patch
literal 6428
zcmd@(hgXx?v-8EzCAhLA!~!TqkYc6USTPZifYMe_*FsTHP**GR9&zS|9*^%k=6|F@7{2-S1((V;B;t`
zr+LyOuHM{RY)WfXP3AA53SC7wFQ_PeYq+Y
zjN}6NnoPr`&w+-n~lS-`OlETM^gSb+7Be_r(LZ^M}72_gOI58gMVVX!h`{gQ*L?eXKY#
zZpOEk*ZEo_sRAAdq9w|;pV!=pXdD^yZbzxtggFuOXBqjtQ4IEqVjH&J35b29ZKa5D
z+W!k1Os745{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0r_iY-c$6QAeK+Zb^m8vmmK9*ezQuek*8|8M&zBvk+a
literal 0
HcmV?d00001
diff --git a/ProjectDumpTruck/ProjectDumpTruck/Resources/ArrowRight.png b/ProjectDumpTruck/ProjectDumpTruck/Resources/ArrowRight.png
new file mode 100644
index 0000000000000000000000000000000000000000..f041ad27dbdf4b596814d6e6fb1ce352eec3bcd3
GIT binary patch
literal 6357
zcmds6`Cm-?|9_q1(2USbV<}tHq{Y2xwI(wv(xP&++>5K+q7sFQ7Ma6sWinLCQkpCk
z_tF=ULgiv2sUh1fElf(bn$}Tc=JP&hK9BDo@%f?0JkRU>IUmDiJqA|SNs-^
zUVcUWVMoKFvjGgYxjHXh9kuCelkjif$hfLqVHdN0l4XwmTQ|4_9D|)o#%$D4o*SPr
zk+?o1a9lE%rnBg^cFr;k$#ewb8kC9SUVZM|O|V>>~5rE^*`h#fw$*Kr*ZTc@YSf
z5&+{@00<8JFN4CcsHg?MI}VI9nmRRmu;+6N>GsI%0`$tkY0WZb6_M#{JU_)^ZNRFSHs#(Q@
zAloiX5_xk+lkoFQ>%m-3^>b%_@li_u|6i4fs@kXR`hrRNLHDqQlUGy`jd9;odvn-zJy7e
zqGHQt9}zR~mAi3)iJK8^){F_;0#z+soXlsywk@g_6!=OOypSrzD+!3?z>9yBVlRaB
zVRfz2E1LnIcu<(3=sJTC7YaQBRYi8{bQ7Gs#Dt%YNi|0zp3F!Fi5pIyu~pxt~EBaGlC!YN049|Ep^~!^Vt`qVvdR=ELz!Uq
zKv`vu5Cf!JRE?u7K{J&&m0Ab}zD~A2Vdb
zm%1v5ZoFQ%WVmC}#+~;j%Y8=~v5DmiFpF%3r8ph@;=$sC!ZM2igdk7E=Rvg@j1Ev4
zn&Og;xWr1DJ0b-v(!nBG5jYDC%KgcNH`fE}p4WTvfB2^Ilir&g^d4spBR@Jf*F2eX
z`-_o?FW;pPA6PK**V}u(PV-ucV^Z&RHdZK)$D&xU|YyH`l#<`X_*JrRrs9D&l
zAG4egEV-k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