diff --git a/ProjectDumpTruck/ProjectDumpTruck/DirectionType.cs b/ProjectDumpTruck/ProjectDumpTruck/DirectionType.cs new file mode 100644 index 0000000..770f543 --- /dev/null +++ b/ProjectDumpTruck/ProjectDumpTruck/DirectionType.cs @@ -0,0 +1,30 @@ +namespace ProjectDumpTruck; + +/// +/// Направление перемещения +/// +public enum DirectionType +{ + /// + /// Вверх + /// + Up = 1, + + /// + /// Вниз + /// + Down = 2, + + /// + /// Влево + /// + Left = 3, + + /// + /// Вправо + /// + Right = 4 + + +} + diff --git a/ProjectDumpTruck/ProjectDumpTruck/DrawningDumpTrack.cs b/ProjectDumpTruck/ProjectDumpTruck/DrawningDumpTrack.cs new file mode 100644 index 0000000..8a5572e --- /dev/null +++ b/ProjectDumpTruck/ProjectDumpTruck/DrawningDumpTrack.cs @@ -0,0 +1,221 @@ +namespace ProjectDumpTruck; + +/// +/// Класс, отвечающий за прорисовку и перемещение объекта-сущности +/// +public class DrawningDumpTrack +{ + /// + /// Класс-сущность + /// + public EntityDumpTruck? EntityDumpTruck { get; private set; } + + /// + /// Ширина окна + /// + private int? _pictureWidth; + + /// + /// Высота окна + /// + private int? _pictureHeight; + + /// + /// Левая координата прорисовки самосвала + /// + private int? _startPosX; + + /// + /// Верхняя координата прорисовки самосвала + /// + private int? _startPosY; + + /// + /// Ширина прорисовки самосвала + /// + private readonly int _drawningDumpTrackWidth = 130; + + /// + /// Высота прорисовки самосвала + /// + private readonly int _drawningDumpTrackHeight = 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 (_drawningDumpTrackWidth > width || _drawningDumpTrackHeight > height) + { + return false; + } + + _pictureWidth = width; + _pictureHeight = height; + return true; + } + + /// + /// Установка позиции + /// + /// Координата X + /// Координата Y + public void SetPosition(int x, int y) + { + if (!_pictureHeight.HasValue || !_pictureWidth.HasValue) + { + return; + } + // TODO если при установке объекта в эти координаты, он будет "выходить" за границы формы + // то надо изменить координаты, чтобы он оставался в этих границах + if (x + _drawningDumpTrackWidth > _pictureWidth ) + { + x = (int)_pictureWidth-_drawningDumpTrackWidth; + } + if (y + _drawningDumpTrackHeight > _pictureHeight) + { + y = (int)_pictureHeight-_drawningDumpTrackHeight; + } + 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 + _drawningDumpTrackWidth < _pictureWidth) + { + _startPosX += (int)EntityDumpTruck.Step; + } + return true; + + //вниз + case DirectionType.Down: + if (_startPosY.Value + EntityDumpTruck.Step + _drawningDumpTrackHeight < _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); + } + } + +} + diff --git a/ProjectDumpTruck/ProjectDumpTruck/EntityDumpTruck.cs b/ProjectDumpTruck/ProjectDumpTruck/EntityDumpTruck.cs new file mode 100644 index 0000000..e4370ac --- /dev/null +++ b/ProjectDumpTruck/ProjectDumpTruck/EntityDumpTruck.cs @@ -0,0 +1,68 @@ +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; + } + + +} + + + + diff --git a/ProjectDumpTruck/ProjectDumpTruck/Form1.Designer.cs b/ProjectDumpTruck/ProjectDumpTruck/Form1.Designer.cs deleted file mode 100644 index d42f936..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 - } -} \ No newline at end of file diff --git a/ProjectDumpTruck/ProjectDumpTruck/Form1.cs b/ProjectDumpTruck/ProjectDumpTruck/Form1.cs deleted file mode 100644 index 9c65b7c..0000000 --- a/ProjectDumpTruck/ProjectDumpTruck/Form1.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace ProjectDumpTruck -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - } -} \ No newline at end of file diff --git a/ProjectDumpTruck/ProjectDumpTruck/FormTransport.Designer.cs b/ProjectDumpTruck/ProjectDumpTruck/FormTransport.Designer.cs new file mode 100644 index 0000000..ab23f41 --- /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() + { + pictureBoxDumpTrack = new PictureBox(); + buttonCreateDumpTrack = new Button(); + buttonLeft = new Button(); + buttonRight = new Button(); + buttonUp = new Button(); + buttonDown = new Button(); + ((System.ComponentModel.ISupportInitialize)pictureBoxDumpTrack).BeginInit(); + SuspendLayout(); + // + // pictureBoxDumpTrack + // + pictureBoxDumpTrack.Dock = DockStyle.Fill; + pictureBoxDumpTrack.Location = new Point(0, 0); + pictureBoxDumpTrack.Name = "pictureBoxDumpTrack"; + pictureBoxDumpTrack.Size = new Size(800, 450); + pictureBoxDumpTrack.TabIndex = 0; + pictureBoxDumpTrack.TabStop = false; + // + // buttonCreateDumpTrack + // + buttonCreateDumpTrack.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; + buttonCreateDumpTrack.Location = new Point(12, 409); + buttonCreateDumpTrack.Name = "buttonCreateDumpTrack"; + buttonCreateDumpTrack.Size = new Size(94, 29); + buttonCreateDumpTrack.TabIndex = 1; + buttonCreateDumpTrack.Text = "Создать"; + buttonCreateDumpTrack.UseVisualStyleBackColor = true; + buttonCreateDumpTrack.Click += buttonCreateDumpTrack_Click; + // + // buttonLeft + // + buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonLeft.BackgroundImage = Properties.Resources.left1; + buttonLeft.BackgroundImageLayout = ImageLayout.Stretch; + buttonLeft.Location = new Point(670, 403); + buttonLeft.Name = "buttonLeft"; + buttonLeft.Size = new Size(35, 35); + buttonLeft.TabIndex = 2; + buttonLeft.UseVisualStyleBackColor = true; + buttonLeft.Click += buttonMove_Click; + // + // buttonRight + // + buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonRight.BackgroundImage = Properties.Resources.right; + buttonRight.BackgroundImageLayout = ImageLayout.Stretch; + buttonRight.Location = new Point(752, 403); + buttonRight.Name = "buttonRight"; + buttonRight.Size = new Size(35, 35); + buttonRight.TabIndex = 3; + buttonRight.UseVisualStyleBackColor = true; + buttonRight.Click += buttonMove_Click; + // + // buttonUp + // + buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonUp.BackgroundImage = Properties.Resources.up1; + buttonUp.BackgroundImageLayout = ImageLayout.Stretch; + buttonUp.Location = new Point(711, 362); + buttonUp.Name = "buttonUp"; + buttonUp.Size = new Size(35, 35); + buttonUp.TabIndex = 4; + buttonUp.UseVisualStyleBackColor = true; + buttonUp.Click += buttonMove_Click; + // + // buttonDown + // + buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonDown.BackgroundImage = Properties.Resources.down1; + buttonDown.BackgroundImageLayout = ImageLayout.Stretch; + buttonDown.Location = new Point(711, 403); + buttonDown.Name = "buttonDown"; + buttonDown.Size = new Size(35, 35); + buttonDown.TabIndex = 5; + buttonDown.UseVisualStyleBackColor = true; + buttonDown.Click += buttonMove_Click; + // + // FormTransport + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(800, 450); + Controls.Add(buttonDown); + Controls.Add(buttonUp); + Controls.Add(buttonRight); + Controls.Add(buttonLeft); + Controls.Add(buttonCreateDumpTrack); + Controls.Add(pictureBoxDumpTrack); + Name = "FormTransport"; + Text = "FormTransport"; + ((System.ComponentModel.ISupportInitialize)pictureBoxDumpTrack).EndInit(); + ResumeLayout(false); + } + + #endregion + + private PictureBox pictureBoxDumpTrack; + private Button buttonCreateDumpTrack; + internal Button buttonLeft; + internal Button buttonRight; + internal Button buttonUp; + internal Button buttonDown; + } +} \ No newline at end of file diff --git a/ProjectDumpTruck/ProjectDumpTruck/FormTransport.cs b/ProjectDumpTruck/ProjectDumpTruck/FormTransport.cs new file mode 100644 index 0000000..1da4f47 --- /dev/null +++ b/ProjectDumpTruck/ProjectDumpTruck/FormTransport.cs @@ -0,0 +1,93 @@ +/// +/// Форма работы с объектом "Самосвал" +/// +namespace ProjectDumpTruck +{ + public partial class FormTransport : Form + { + /// + /// Поле-объект для прорисовки объекта + /// + private DrawningDumpTrack? _drawningDumpTrack; + + /// + /// Конструктор формы + /// + public FormTransport() + { + InitializeComponent(); + } + + /// + /// Метод прорисовки машины + /// + private void Draw() + { + if (_drawningDumpTrack == null) + { + return; + } + + Bitmap bmp = new(pictureBoxDumpTrack.Width, pictureBoxDumpTrack.Height); + Graphics gr = Graphics.FromImage(bmp); + _drawningDumpTrack.DrawTransport(gr); + pictureBoxDumpTrack.Image = bmp; + } + + /// + /// Обработка нажатия кнопки "Создать" + /// + /// + /// + private void buttonCreateDumpTrack_Click(object sender, EventArgs e) + { + Random random = new(); + _drawningDumpTrack = new DrawningDumpTrack(); + _drawningDumpTrack.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))); + + _drawningDumpTrack.SetPictureSize(pictureBoxDumpTrack.Width, pictureBoxDumpTrack.Height); + _drawningDumpTrack.SetPosition(random.Next(10, 100), random.Next(10, 100)); + + Draw(); + } + + + /// + /// Перемещение объекта по форме (нажатие кнопок навигации) + /// + /// + /// + private void buttonMove_Click(object sender, EventArgs e) + { + if (_drawningDumpTrack == null) + { + return; + } + + string name = ((Button)sender)?.Name ?? string.Empty; + bool result = false; + switch (name) + { + case "buttonUp": + result = _drawningDumpTrack.MoveTransport(DirectionType.Up); + break; + case "buttonDown": + result = _drawningDumpTrack.MoveTransport(DirectionType.Down); + break; + case "buttonLeft": + result = _drawningDumpTrack.MoveTransport(DirectionType.Left); + break; + case "buttonRight": + result = _drawningDumpTrack.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..9539384 100644 --- a/ProjectDumpTruck/ProjectDumpTruck/Program.cs +++ b/ProjectDumpTruck/ProjectDumpTruck/Program.cs @@ -11,7 +11,8 @@ 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..13ee123 100644 --- a/ProjectDumpTruck/ProjectDumpTruck/ProjectDumpTruck.csproj +++ b/ProjectDumpTruck/ProjectDumpTruck/ProjectDumpTruck.csproj @@ -2,10 +2,25 @@ WinExe - net7.0-windows + net6.0-windows enable true 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..028bb1e --- /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 down1 { + get { + object obj = ResourceManager.GetObject("down1", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap left1 { + get { + object obj = ResourceManager.GetObject("left1", 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 up1 { + get { + object obj = ResourceManager.GetObject("up1", 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..560af66 --- /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\left1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\down1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\right.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\up1.jpg;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/down.jpg b/ProjectDumpTruck/ProjectDumpTruck/Resources/down.jpg new file mode 100644 index 0000000..955c19a Binary files /dev/null and b/ProjectDumpTruck/ProjectDumpTruck/Resources/down.jpg differ diff --git a/ProjectDumpTruck/ProjectDumpTruck/Resources/down1.jpg b/ProjectDumpTruck/ProjectDumpTruck/Resources/down1.jpg new file mode 100644 index 0000000..4e88111 Binary files /dev/null and b/ProjectDumpTruck/ProjectDumpTruck/Resources/down1.jpg differ diff --git a/ProjectDumpTruck/ProjectDumpTruck/Resources/left.jpg b/ProjectDumpTruck/ProjectDumpTruck/Resources/left.jpg new file mode 100644 index 0000000..d38fedb Binary files /dev/null and b/ProjectDumpTruck/ProjectDumpTruck/Resources/left.jpg differ diff --git a/ProjectDumpTruck/ProjectDumpTruck/Resources/left1.jpg b/ProjectDumpTruck/ProjectDumpTruck/Resources/left1.jpg new file mode 100644 index 0000000..962723e Binary files /dev/null and b/ProjectDumpTruck/ProjectDumpTruck/Resources/left1.jpg differ diff --git a/ProjectDumpTruck/ProjectDumpTruck/Resources/right.jpg b/ProjectDumpTruck/ProjectDumpTruck/Resources/right.jpg new file mode 100644 index 0000000..d38fedb Binary files /dev/null and b/ProjectDumpTruck/ProjectDumpTruck/Resources/right.jpg differ diff --git a/ProjectDumpTruck/ProjectDumpTruck/Resources/up.jpg b/ProjectDumpTruck/ProjectDumpTruck/Resources/up.jpg new file mode 100644 index 0000000..99032e7 Binary files /dev/null and b/ProjectDumpTruck/ProjectDumpTruck/Resources/up.jpg differ diff --git a/ProjectDumpTruck/ProjectDumpTruck/Resources/up1.jpg b/ProjectDumpTruck/ProjectDumpTruck/Resources/up1.jpg new file mode 100644 index 0000000..561c4cb Binary files /dev/null and b/ProjectDumpTruck/ProjectDumpTruck/Resources/up1.jpg differ