diff --git a/MotorBoat/MotorBoat/DirectionType.cs b/MotorBoat/MotorBoat/DirectionType.cs new file mode 100644 index 0000000..b735a41 --- /dev/null +++ b/MotorBoat/MotorBoat/DirectionType.cs @@ -0,0 +1,26 @@ +namespace MotorBoat +{ + + /// + /// Направление перемещения + /// + public enum DirectionType + { + /// + /// Вверх + /// + Up = 1, + /// + /// Вниз + /// + Down = 2, + /// + /// Влево + /// + Left = 3, + /// + /// Вправо + /// + Right = 4 + } +} diff --git a/MotorBoat/MotorBoat/DrawningMotorBoat.cs b/MotorBoat/MotorBoat/DrawningMotorBoat.cs new file mode 100644 index 0000000..47cbe84 --- /dev/null +++ b/MotorBoat/MotorBoat/DrawningMotorBoat.cs @@ -0,0 +1,231 @@ +namespace MotorBoat +{ + /// + /// Класс, отвечающий за прорисовку и перемещение объекта-сущности + /// + public class DrawningMotorBoat + { + /// + /// Класс-сущность + /// + public EntityMotorBoat? EntityMotorBoat { get; private set; } + /// + /// Ширина окна + /// + private int? _pictureWidth; + /// + /// Высота окна + /// + private int? _pictureHeight; + /// + /// Левая координата прорисовки лодки + /// + private int? _startPosX; + /// + /// Верхняя кооридната прорисовки лодки + /// + private int? _startPosY; + /// + /// Ширина прорисовки лодки + /// + private readonly int _drawningBoatWidth = 153; + /// + /// Высота прорисовки лодки + /// + private readonly int _drawningBoatHeight = 75; + /// + /// Инициализация свойств + /// + /// Скорость + /// Вес + /// Основной цвет + /// Дополнительный цвет + /// Признак наличия защитного стекла + /// Признак наличия мотора + public void Init(int speed, double weight, Color bodyColor, Color additionalColor, + bool protectiveGlass, bool engine) + { + EntityMotorBoat = new EntityMotorBoat(); + EntityMotorBoat.Init(speed, weight, bodyColor, additionalColor, protectiveGlass, engine); + _pictureWidth = null; + _pictureHeight = null; + _startPosX = null; + _startPosY = null; + } + /// + /// Установка границ поля + /// + /// Ширина поля + /// Высота поля + /// true - границы заданы, false - проверка не пройдена, нельзя + ///разместить объект в этих размерах + public bool SetPictureSize(int width, int height) + { + if (width > _drawningBoatWidth && height > _drawningBoatHeight) + { + _pictureWidth = width; + _pictureHeight = height; + if (_startPosX != null && _startPosY != null) + { + if (_startPosX.Value < 0) + { + _startPosX = 0; + } + if (_startPosY.Value < 0) + { + _startPosY = 0; + } + if (_startPosX.Value + _drawningBoatWidth > _pictureWidth) + { + _startPosX = _pictureWidth - _drawningBoatWidth; + } + if (_startPosY.Value + _drawningBoatHeight > _pictureHeight) + { + _startPosY = _pictureHeight - _drawningBoatHeight; + } + } + + return true; + } + return false; + } + /// + /// Установка позиции + /// + /// Координата X + /// Координата Y + + public void SetPosition(int x, int y) + { + if (!_pictureHeight.HasValue || !_pictureWidth.HasValue) + { + return; + } + else + { + _startPosX = x; + _startPosY = y; + if (_startPosX.Value < 0) _startPosX = 0; + if (_startPosY.Value < 0) _startPosY = 0; + if (_startPosX.Value + _drawningBoatWidth > _pictureWidth) + { + _startPosX = _pictureWidth - _drawningBoatWidth; + } + if (_startPosY.Value + _drawningBoatHeight > _pictureHeight) + { + _startPosY = _pictureHeight - _drawningBoatHeight; + } + } + + } + /// + /// Изменение направления перемещения + /// + /// Направление + /// true - перемещене выполнено, false - перемещение + /// невозможно + public bool MoveTransport(DirectionType direction) + { + if (EntityMotorBoat == null || !_startPosX.HasValue || !_startPosY.HasValue) + { + return false; + } + switch (direction) + { + //влево + case DirectionType.Left: + if (_startPosX.Value - EntityMotorBoat.Step > 0) + { + _startPosX -= (int)EntityMotorBoat.Step; + } + return true; + //вверх + case DirectionType.Up: + if (_startPosY.Value - EntityMotorBoat.Step > 0) + { + _startPosY -= (int)EntityMotorBoat.Step; + } + return true; + //вправо + case DirectionType.Right: + if (_startPosX.Value + _drawningBoatWidth + EntityMotorBoat.Step < _pictureWidth) + { + _startPosX += (int)EntityMotorBoat.Step; + } + return true; + //вниз + case DirectionType.Down: + if (_startPosY.Value + _drawningBoatHeight + EntityMotorBoat.Step < _pictureHeight) + { + _startPosY += (int)EntityMotorBoat.Step; + } + return true; + default: + return false; + } + + } + /// + /// Прорисовка объекта + /// + /// + public void DrawTransport(Graphics g) + { + if (EntityMotorBoat == null || !_startPosX.HasValue || + !_startPosY.HasValue) + { + return; + } + + Pen pen = new(Color.Black); + Brush brushBodyColor = new SolidBrush(EntityMotorBoat.BodyColor); + Brush brushAdditionalColor = new SolidBrush(EntityMotorBoat.AdditionalColor); + + Point[] body = + { + new Point(_startPosX.Value + 10, _startPosY.Value + 25), + new Point(_startPosX.Value + 110, _startPosY.Value + 25), + new Point(_startPosX.Value + 155, _startPosY.Value + 45), + new Point(_startPosX.Value + 110, _startPosY.Value + 65), + new Point(_startPosX.Value + 10, _startPosY.Value + 65), + new Point(_startPosX.Value + 10, _startPosY.Value + 25) + }; + + // корпус + g.FillPolygon(brushBodyColor, body); + g.DrawPolygon(pen, body); + + //боковина лодки + g.DrawEllipse(pen, _startPosX.Value + 25, _startPosY.Value + 30, 30, 30); + g.DrawEllipse(pen, _startPosX.Value + 70, _startPosY.Value + 30, 30, 30); + g.DrawLine(pen, _startPosX.Value + 37, _startPosY.Value + 30, _startPosX.Value + 83, _startPosY.Value + 30); + g.DrawLine(pen, _startPosX.Value + 37, _startPosY.Value + 60, _startPosX.Value + 83, _startPosY.Value + 60); + g.FillRectangle(brushBodyColor, _startPosX.Value + 37, _startPosY.Value + 31, 50, 29); + + + //защитное стекло спереди + if (EntityMotorBoat.ProtectiveGlass) + { + Point[] glass = + { + new Point(_startPosX.Value + 105, _startPosY.Value + 25), + new Point(_startPosX.Value + 100, _startPosY.Value), + new Point(_startPosX.Value + 90, _startPosY.Value), + new Point(_startPosX.Value + 90, _startPosY.Value + 25), + new Point(_startPosX.Value + 105, _startPosY.Value + 25) + }; + g.FillPolygon(brushAdditionalColor, glass); + g.DrawPolygon(pen, glass); + } + + //мотор + if (EntityMotorBoat.Engine) + { + g.FillRectangle(brushAdditionalColor, _startPosX.Value, _startPosY.Value + 50, 10, 25); + g.DrawRectangle(pen, _startPosX.Value, _startPosY.Value + 50, 10, 25); + } + + } + + } +} diff --git a/MotorBoat/MotorBoat/EntityMotorBoat.cs b/MotorBoat/MotorBoat/EntityMotorBoat.cs new file mode 100644 index 0000000..2757fdd --- /dev/null +++ b/MotorBoat/MotorBoat/EntityMotorBoat.cs @@ -0,0 +1,56 @@ +namespace MotorBoat +{ + /// + /// Класс-сущность "Моторная лодка" + /// + public class EntityMotorBoat + { + /// + /// Скорость + /// + 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 ProtectiveGlass { get; private set; } + /// + /// Признак (опция) наличия мотора + /// + public bool Engine { get; private set; } + /// + /// Шаг перемещения лодки + /// + public double Step => Speed * 100 / Weight; + /// + /// Инициализация полей объекта-класса моторной лодки + /// + /// Скорость + /// Вес лодки + /// Основной цвет + /// Дополнительный цвет + /// Признак наличия защитного стекла + /// Признак наличия мотора + public void Init(int speed, double weight, Color bodyColor, Color additionalColor, + bool protectiveGlass, bool engine) + { + Speed = speed; + Weight = weight; + BodyColor = bodyColor; + AdditionalColor = additionalColor; + ProtectiveGlass = protectiveGlass; + Engine = engine; + } + } +} diff --git a/MotorBoat/MotorBoat/Form1.Designer.cs b/MotorBoat/MotorBoat/Form1.Designer.cs deleted file mode 100644 index 636283a..0000000 --- a/MotorBoat/MotorBoat/Form1.Designer.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace MotorBoat -{ - 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() - { - SuspendLayout(); - // - // Form1 - // - AutoScaleDimensions = new SizeF(7F, 15F); - AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(800, 450); - Name = "Form1"; - Text = "Form1"; - Load += Form1_Load; - ResumeLayout(false); - } - - #endregion - } -} diff --git a/MotorBoat/MotorBoat/Form1.cs b/MotorBoat/MotorBoat/Form1.cs deleted file mode 100644 index 6b9bbb8..0000000 --- a/MotorBoat/MotorBoat/Form1.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace MotorBoat -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - - private void Form1_Load(object sender, EventArgs e) - { - - } - } -} diff --git a/MotorBoat/MotorBoat/FormMotorBoat.Designer.cs b/MotorBoat/MotorBoat/FormMotorBoat.Designer.cs new file mode 100644 index 0000000..5a6e469 --- /dev/null +++ b/MotorBoat/MotorBoat/FormMotorBoat.Designer.cs @@ -0,0 +1,134 @@ +namespace MotorBoat +{ + partial class FormMotorBoat + { + /// + /// 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() + { + pictureBoxMotorBoat = new PictureBox(); + buttonCreate = new Button(); + buttonLeft = new Button(); + buttonDown = new Button(); + buttonRight = new Button(); + buttonUp = new Button(); + ((System.ComponentModel.ISupportInitialize)pictureBoxMotorBoat).BeginInit(); + SuspendLayout(); + // + // pictureBoxMotorBoat + // + pictureBoxMotorBoat.Dock = DockStyle.Fill; + pictureBoxMotorBoat.Location = new Point(0, 0); + pictureBoxMotorBoat.Name = "pictureBoxMotorBoat"; + pictureBoxMotorBoat.Size = new Size(861, 447); + pictureBoxMotorBoat.TabIndex = 0; + pictureBoxMotorBoat.TabStop = false; + // + // buttonCreate + // + buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; + buttonCreate.Location = new Point(12, 412); + buttonCreate.Name = "buttonCreate"; + buttonCreate.Size = new Size(75, 23); + buttonCreate.TabIndex = 1; + buttonCreate.Text = "Создать"; + buttonCreate.UseVisualStyleBackColor = true; + buttonCreate.Click += ButtonCreateMotorBoat_Click; + // + // buttonLeft + // + buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonLeft.BackgroundImage = Properties.Resources.leftArrow; + buttonLeft.BackgroundImageLayout = ImageLayout.Stretch; + buttonLeft.Location = new Point(734, 400); + buttonLeft.Name = "buttonLeft"; + buttonLeft.Size = new Size(35, 35); + buttonLeft.TabIndex = 2; + buttonLeft.UseVisualStyleBackColor = true; + buttonLeft.Click += ButtonMove_Click; + // + // buttonDown + // + buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonDown.BackgroundImage = Properties.Resources.downArrow; + buttonDown.BackgroundImageLayout = ImageLayout.Stretch; + buttonDown.Location = new Point(772, 400); + 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.rightArrow; + buttonRight.BackgroundImageLayout = ImageLayout.Stretch; + buttonRight.Location = new Point(810, 400); + buttonRight.Name = "buttonRight"; + buttonRight.Size = new Size(35, 35); + buttonRight.TabIndex = 4; + buttonRight.UseVisualStyleBackColor = true; + buttonRight.Click += ButtonMove_Click; + // + // buttonUp + // + buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonUp.BackgroundImage = Properties.Resources.upArrow; + buttonUp.BackgroundImageLayout = ImageLayout.Stretch; + buttonUp.Location = new Point(772, 362); + buttonUp.Name = "buttonUp"; + buttonUp.Size = new Size(35, 35); + buttonUp.TabIndex = 5; + buttonUp.UseVisualStyleBackColor = true; + buttonUp.Click += ButtonMove_Click; + // + // FormMotorBoat + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(861, 447); + Controls.Add(buttonUp); + Controls.Add(buttonRight); + Controls.Add(buttonDown); + Controls.Add(buttonLeft); + Controls.Add(buttonCreate); + Controls.Add(pictureBoxMotorBoat); + Name = "FormMotorBoat"; + Text = "Моторная лодка"; + ((System.ComponentModel.ISupportInitialize)pictureBoxMotorBoat).EndInit(); + ResumeLayout(false); + } + + #endregion + + private PictureBox pictureBoxMotorBoat; + private Button buttonCreate; + private Button buttonLeft; + private Button buttonDown; + private Button buttonRight; + private Button buttonUp; + } +} \ No newline at end of file diff --git a/MotorBoat/MotorBoat/FormMotorBoat.cs b/MotorBoat/MotorBoat/FormMotorBoat.cs new file mode 100644 index 0000000..8ff553a --- /dev/null +++ b/MotorBoat/MotorBoat/FormMotorBoat.cs @@ -0,0 +1,96 @@ +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 MotorBoat +{ + public partial class FormMotorBoat : Form + { + private DrawningMotorBoat? _drawningMotorBoat; + /// + /// Конструктор формы + /// + public FormMotorBoat() + { + InitializeComponent(); + } + /// + /// Метод прорисовки катера + /// + private void Draw() + { + if (_drawningMotorBoat == null) + { + return; + } + Bitmap bmp = new(pictureBoxMotorBoat.Width, + pictureBoxMotorBoat.Height); + Graphics gr = Graphics.FromImage(bmp); + _drawningMotorBoat.DrawTransport(gr); + pictureBoxMotorBoat.Image = bmp; + } + /// + /// Обработка нажатия кнопки "Создать" + /// + /// + /// + private void ButtonCreateMotorBoat_Click(object sender, EventArgs e) + { + Random random = new(); + _drawningMotorBoat = new DrawningMotorBoat(); + _drawningMotorBoat.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))); + _drawningMotorBoat.SetPictureSize(pictureBoxMotorBoat.Width, + pictureBoxMotorBoat.Height); + _drawningMotorBoat.SetPosition(random.Next(10, 100), random.Next(10, + 100)); + Draw(); + } + /// + /// Перемещение объекта по форме (нажатие кнопок навигации) + /// + /// + /// + private void ButtonMove_Click(object sender, EventArgs e) + { + if (_drawningMotorBoat == null) + { + return; + } + string name = ((Button)sender)?.Name ?? string.Empty; + bool result = false; + switch (name) + { + case "buttonUp": + result = + _drawningMotorBoat.MoveTransport(DirectionType.Up); + break; + case "buttonDown": + result = + _drawningMotorBoat.MoveTransport(DirectionType.Down); + break; + case "buttonLeft": + result = + _drawningMotorBoat.MoveTransport(DirectionType.Left); + break; + case "buttonRight": + result = + _drawningMotorBoat.MoveTransport(DirectionType.Right); + break; + } + if (result) + { + Draw(); + } + } + } +} diff --git a/MotorBoat/MotorBoat/Form1.resx b/MotorBoat/MotorBoat/FormMotorBoat.resx similarity index 100% rename from MotorBoat/MotorBoat/Form1.resx rename to MotorBoat/MotorBoat/FormMotorBoat.resx diff --git a/MotorBoat/MotorBoat/MotorBoat.csproj b/MotorBoat/MotorBoat/MotorBoat.csproj index 663fdb8..af03d74 100644 --- a/MotorBoat/MotorBoat/MotorBoat.csproj +++ b/MotorBoat/MotorBoat/MotorBoat.csproj @@ -8,4 +8,19 @@ enable + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + \ No newline at end of file diff --git a/MotorBoat/MotorBoat/Program.cs b/MotorBoat/MotorBoat/Program.cs index 974f0ab..6b95e75 100644 --- a/MotorBoat/MotorBoat/Program.cs +++ b/MotorBoat/MotorBoat/Program.cs @@ -8,10 +8,8 @@ namespace MotorBoat [STAThread] static void Main() { - // 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 FormMotorBoat()); } } } \ No newline at end of file diff --git a/MotorBoat/MotorBoat/Properties/Resources.Designer.cs b/MotorBoat/MotorBoat/Properties/Resources.Designer.cs new file mode 100644 index 0000000..cbe86f2 --- /dev/null +++ b/MotorBoat/MotorBoat/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace MotorBoat.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("MotorBoat.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 downArrow { + get { + object obj = ResourceManager.GetObject("downArrow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap leftArrow { + get { + object obj = ResourceManager.GetObject("leftArrow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap rightArrow { + get { + object obj = ResourceManager.GetObject("rightArrow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upArrow { + get { + object obj = ResourceManager.GetObject("upArrow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/MotorBoat/MotorBoat/Properties/Resources.resx b/MotorBoat/MotorBoat/Properties/Resources.resx new file mode 100644 index 0000000..dc6d396 --- /dev/null +++ b/MotorBoat/MotorBoat/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\leftArrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\rightArrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\upArrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\downArrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/MotorBoat/MotorBoat/Resources/downArrow.png b/MotorBoat/MotorBoat/Resources/downArrow.png new file mode 100644 index 0000000..9b4482d Binary files /dev/null and b/MotorBoat/MotorBoat/Resources/downArrow.png differ diff --git a/MotorBoat/MotorBoat/Resources/leftArrow.png b/MotorBoat/MotorBoat/Resources/leftArrow.png new file mode 100644 index 0000000..f014a20 Binary files /dev/null and b/MotorBoat/MotorBoat/Resources/leftArrow.png differ diff --git a/MotorBoat/MotorBoat/Resources/rightArrow.png b/MotorBoat/MotorBoat/Resources/rightArrow.png new file mode 100644 index 0000000..388f032 Binary files /dev/null and b/MotorBoat/MotorBoat/Resources/rightArrow.png differ diff --git a/MotorBoat/MotorBoat/Resources/upArrow.png b/MotorBoat/MotorBoat/Resources/upArrow.png new file mode 100644 index 0000000..2f62525 Binary files /dev/null and b/MotorBoat/MotorBoat/Resources/upArrow.png differ