diff --git a/ProjectCatamaran/ProjectCatamaran/DirectionType.cs b/ProjectCatamaran/ProjectCatamaran/DirectionType.cs
new file mode 100644
index 0000000..18ae55c
--- /dev/null
+++ b/ProjectCatamaran/ProjectCatamaran/DirectionType.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProjectCatamaran;
+
+public enum DirectionType
+{
+ ///
+ /// Вверх
+ ///
+ Up = 1,
+ ///
+ /// Вниз
+ ///
+ Down = 2,
+ ///
+ /// Влево
+ ///
+ Left = 3,
+ ///
+ /// Вправо
+ ///
+ Right = 4
+}
\ No newline at end of file
diff --git a/ProjectCatamaran/ProjectCatamaran/DrawningCatamaran.cs b/ProjectCatamaran/ProjectCatamaran/DrawningCatamaran.cs
new file mode 100644
index 0000000..6266ca6
--- /dev/null
+++ b/ProjectCatamaran/ProjectCatamaran/DrawningCatamaran.cs
@@ -0,0 +1,180 @@
+using ProjectCatamaran;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProjectCatamaran;
+///
+/// класс отвечающиай за перемещение и отрисовку
+///
+public class DrawningCatamaran
+{
+ ///
+ /// класс-сущность
+ ///
+ public EntityCatamaran? EntityCatamaran { get; private set; }
+ ///
+ /// ширина окна
+ ///
+ private int? _pictureWidth;
+ ///
+ /// высота окна
+ ///
+ private int? _pictureHeight;
+ ///
+ /// Левая координата прорисовки автопоезда
+ ///
+ private int? _startPosX;
+ ///
+ /// Верхняя координата прорисовки автопоезда
+ ///
+ private int? _startPosY;
+ ///
+ /// Ширина прорисовки катамарана
+ ///
+ private readonly int _drawningCatamaranWidth = 65;
+ ///
+ /// Высота прорисовки катамарана
+ ///
+ private readonly int _drawningCatamaranHeight = 40;
+ ///
+ /// Инициализация полей обьекта-класса спортивного автомобиля
+ ///
+ /// Скорость
+ /// Вес катера
+ /// Основной цвет
+ /// Дополнительный цвет(для опциональных элементов)
+ /// Признак (опция) наличие плавников
+ /// Признак (опция) наличие парус
+ public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool floats, bool brush)
+ {
+ EntityCatamaran = new EntityCatamaran();
+ EntityCatamaran.Init(speed, weight, bodyColor, additionalColor, floats, brush);
+
+ _pictureWidth = null;
+ _pictureHeight = null;
+ _startPosX = null;
+ _startPosY = null;
+ }
+ ///
+ /// установка границ поля
+ ///
+ /// ширина
+ /// высота
+ ///
+ public bool SetPictureSize(int width, int height)
+ {
+ if (_drawningCatamaranHeight < height && _drawningCatamaranWidth < width)
+ {
+ _pictureHeight = height;
+ _pictureWidth = width;
+ return true;
+ }
+ return false;
+ }
+ ///
+ /// установка позиции
+ ///
+ /// координата x
+ /// координата y
+ public void SetPosition(int x, int y)
+ {
+ if (!_pictureHeight.HasValue || !_pictureWidth.HasValue)
+ {
+ return;
+ }
+ if (x > _pictureWidth - _drawningCatamaranWidth || x < 0)
+ _startPosX = x < 0 ? 0 : _pictureWidth - _drawningCatamaranWidth;
+ else
+ _startPosX = x;
+ if (y > _pictureHeight - _drawningCatamaranHeight || y < 0)
+ _startPosY = y < 0 ? 0 : _pictureHeight - _drawningCatamaranHeight;
+ else
+ _startPosY = y;
+ }
+ ///
+ /// изменение направления перемещения
+ ///
+ /// направление
+ /// true - перемещение выполнено , false - перемещение невозможно
+ public bool MoveTransport(DirectionType direction)
+ {
+ if (EntityCatamaran == null || !_startPosX.HasValue || !_startPosY.HasValue)
+ {
+ return false;
+ }
+ switch (direction)
+ {
+ case DirectionType.Left:
+ if (_startPosX.Value - EntityCatamaran.Step > 0)
+ {
+ _startPosX -= (int)EntityCatamaran.Step;
+ }
+ return true;
+ case DirectionType.Up:
+ if (_startPosY.Value - EntityCatamaran.Step > 0)
+ {
+ _startPosY -= (int)EntityCatamaran.Step;
+ }
+ return true;
+ case DirectionType.Right:
+ if (_startPosX.Value + (int)EntityCatamaran.Step + _drawningCatamaranWidth <= _pictureWidth)
+ {
+ _startPosX += (int)EntityCatamaran.Step;
+ }
+ return true;
+ case DirectionType.Down:
+ if (_startPosY.Value + (int)EntityCatamaran.Step + _drawningCatamaranHeight <= _pictureHeight)
+ {
+ _startPosY += (int)EntityCatamaran.Step;
+ }
+ return true;
+ default:
+ return false;
+ }
+ }
+ ///
+ /// отрисовка
+ ///
+ ///
+ public void DrawTransport(Graphics g)
+ {
+ if (EntityCatamaran == null || !_startPosX.HasValue || !_startPosY.HasValue)
+ {
+ return;
+ }
+ Brush brBody = new SolidBrush(EntityCatamaran.BodyColor);
+ Brush brFloatsAndSail = new SolidBrush(EntityCatamaran.AdditionalColor);
+ g.FillRectangle(brBody, _startPosX.Value + 5, _startPosY.Value + 15, 40, 20);
+ Point[] triangle =
+ {
+ new Point(_startPosX.Value + 45,_startPosY.Value + 15),
+ new Point(_startPosX.Value + 65,_startPosY.Value + 25),
+ new Point(_startPosX.Value + 45,_startPosY.Value + 35),
+ };
+ g.FillPolygon(brBody, triangle);
+ g.FillEllipse(new SolidBrush(Color.Black), _startPosX.Value + 12, _startPosY.Value + 19, 23, 10);
+ //плавники
+ if (EntityCatamaran.Floats)
+ {
+ g.FillRectangle(brFloatsAndSail, _startPosX.Value, _startPosY.Value + 10, 45, 5);
+ g.FillRectangle(brFloatsAndSail, _startPosX.Value, _startPosY.Value + 35, 45, 5);
+ }
+ // парус
+ if (EntityCatamaran.Sail)
+ {
+ Point[] sailFigure =
+ {
+ new Point(_startPosX.Value + 25,_startPosY.Value + 25),
+ new Point(_startPosX.Value + 35 ,_startPosY.Value + 25),
+ new Point(_startPosX.Value + 25,_startPosY.Value),
+ };
+ g.FillPolygon(brFloatsAndSail, sailFigure);
+ }
+ }
+
+
+
+}
\ No newline at end of file
diff --git a/ProjectCatamaran/ProjectCatamaran/EntityCatamaran.cs b/ProjectCatamaran/ProjectCatamaran/EntityCatamaran.cs
new file mode 100644
index 0000000..afceb4b
--- /dev/null
+++ b/ProjectCatamaran/ProjectCatamaran/EntityCatamaran.cs
@@ -0,0 +1,53 @@
+namespace ProjectCatamaran;
+///
+/// Класс-сущность "Авто поезд"
+///
+public class EntityCatamaran
+{
+ ///
+ /// Скорость
+ ///
+ public int Speed { get; set; }
+ ///
+ /// Вес авто
+ ///
+ public double Weight { get; set; }
+ ///
+ /// Основной цвет
+ ///
+ public Color BodyColor { get; private set; }
+ ///
+ /// Дополнительный цвет(для опциональных элементов)
+ ///
+ public Color AdditionalColor { get; private set; }
+ ///
+ /// Признак (опция) наличие поплавков
+ ///
+ public bool Floats { get; private set; }
+ ///
+ /// Признак (опция) наличие паруса
+ ///
+ public bool Sail { get; private set; }
+ ///
+ /// Шаг перемещения
+ ///
+ public double Step => Speed * 100 / Weight;
+ ///
+ /// Инициализация полей обьекта-класса спортивного автомобиля
+ ///
+ /// Скорость
+ /// Вес авто
+ /// Основной цвет
+ /// Дополнительный цвет(для опциональных элементов)
+ /// Признак (опция) наличие плавников
+ /// Признак (опция) наличие паруса
+ public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool floats, bool sail)
+ {
+ Speed = speed;
+ Weight = weight;
+ BodyColor = bodyColor;
+ AdditionalColor = additionalColor;
+ Floats = floats;
+ Sail = sail;
+ }
+}
\ No newline at end of file
diff --git a/ProjectCatamaran/ProjectCatamaran/Form1.Designer.cs b/ProjectCatamaran/ProjectCatamaran/Form1.Designer.cs
deleted file mode 100644
index 9fdac50..0000000
--- a/ProjectCatamaran/ProjectCatamaran/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace ProjectCatamaran
-{
- 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/ProjectCatamaran/ProjectCatamaran/Form1.cs b/ProjectCatamaran/ProjectCatamaran/Form1.cs
deleted file mode 100644
index 944ba25..0000000
--- a/ProjectCatamaran/ProjectCatamaran/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace ProjectCatamaran
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/ProjectCatamaran/ProjectCatamaran/FormCatamaran.Designer.cs b/ProjectCatamaran/ProjectCatamaran/FormCatamaran.Designer.cs
new file mode 100644
index 0000000..12e51bf
--- /dev/null
+++ b/ProjectCatamaran/ProjectCatamaran/FormCatamaran.Designer.cs
@@ -0,0 +1,134 @@
+namespace ProjectCatamaran
+{
+ partial class FormCatamaran
+ {
+ ///
+ /// 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()
+ {
+ pictureBoxCatamaran = new PictureBox();
+ buttonCreateCatamaran = new Button();
+ buttonUp = new Button();
+ buttonRight = new Button();
+ buttonLeft = new Button();
+ buttonDown = new Button();
+ ((System.ComponentModel.ISupportInitialize)pictureBoxCatamaran).BeginInit();
+ SuspendLayout();
+ //
+ // pictureBoxCatamaran
+ //
+ pictureBoxCatamaran.Dock = DockStyle.Fill;
+ pictureBoxCatamaran.Location = new Point(0, 0);
+ pictureBoxCatamaran.Name = "pictureBoxCatamaran";
+ pictureBoxCatamaran.Size = new Size(800, 450);
+ pictureBoxCatamaran.TabIndex = 0;
+ pictureBoxCatamaran.TabStop = false;
+ //
+ // buttonCreateCatamaran
+ //
+ buttonCreateCatamaran.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonCreateCatamaran.Location = new Point(12, 406);
+ buttonCreateCatamaran.Name = "buttonCreateCatamaran";
+ buttonCreateCatamaran.Size = new Size(75, 23);
+ buttonCreateCatamaran.TabIndex = 1;
+ buttonCreateCatamaran.Text = "Создать";
+ buttonCreateCatamaran.UseVisualStyleBackColor = true;
+ buttonCreateCatamaran.Click += ButtonCreateCatamaran_Click;
+ //
+ // buttonUp
+ //
+ buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonUp.BackgroundImage = Properties.Resources.fdcc84704da3ed14a83779fbf91e00fb;
+ buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonUp.Location = new Point(709, 359);
+ buttonUp.Name = "buttonUp";
+ buttonUp.Size = new Size(35, 35);
+ buttonUp.TabIndex = 2;
+ buttonUp.UseVisualStyleBackColor = true;
+ buttonUp.Click += ButtonMove_Click;
+ //
+ // buttonRight
+ //
+ buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonRight.BackgroundImage = Properties.Resources.right;
+ buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonRight.Location = new Point(750, 400);
+ buttonRight.Name = "buttonRight";
+ buttonRight.Size = new Size(35, 35);
+ buttonRight.TabIndex = 3;
+ buttonRight.UseVisualStyleBackColor = true;
+ buttonRight.Click += ButtonMove_Click;
+ //
+ // buttonLeft
+ //
+ buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonLeft.BackgroundImage = Properties.Resources.left;
+ buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonLeft.Location = new Point(668, 400);
+ buttonLeft.Name = "buttonLeft";
+ buttonLeft.Size = new Size(35, 35);
+ buttonLeft.TabIndex = 4;
+ buttonLeft.UseVisualStyleBackColor = true;
+ buttonLeft.Click += ButtonMove_Click;
+ //
+ // buttonDown
+ //
+ buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonDown.BackgroundImage = Properties.Resources.down;
+ buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonDown.Location = new Point(709, 400);
+ buttonDown.Name = "buttonDown";
+ buttonDown.Size = new Size(35, 35);
+ buttonDown.TabIndex = 5;
+ buttonDown.UseVisualStyleBackColor = true;
+ buttonDown.Click += ButtonMove_Click;
+ //
+ // FormCatamaran
+ //
+ AutoScaleDimensions = new SizeF(7F, 15F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(800, 450);
+ Controls.Add(buttonDown);
+ Controls.Add(buttonLeft);
+ Controls.Add(buttonRight);
+ Controls.Add(buttonUp);
+ Controls.Add(buttonCreateCatamaran);
+ Controls.Add(pictureBoxCatamaran);
+ Name = "FormCatamaran";
+ Text = "Катамаран";
+ ((System.ComponentModel.ISupportInitialize)pictureBoxCatamaran).EndInit();
+ ResumeLayout(false);
+ }
+
+ #endregion
+
+ private PictureBox pictureBoxCatamaran;
+ private Button buttonCreateCatamaran;
+ private Button buttonUp;
+ private Button buttonRight;
+ private Button buttonLeft;
+ private Button buttonDown;
+ }
+}
\ No newline at end of file
diff --git a/ProjectCatamaran/ProjectCatamaran/FormCatamaran.cs b/ProjectCatamaran/ProjectCatamaran/FormCatamaran.cs
new file mode 100644
index 0000000..1560145
--- /dev/null
+++ b/ProjectCatamaran/ProjectCatamaran/FormCatamaran.cs
@@ -0,0 +1,77 @@
+using ProjectCatamaran;
+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 ProjectCatamaran
+{
+ public partial class FormCatamaran : Form
+ {
+ private DrawningCatamaran? _drawningCatamaran;
+ public FormCatamaran()
+ {
+ InitializeComponent();
+ }
+
+ private void Draw()
+ {
+ if (_drawningCatamaran == null)
+ {
+ return;
+ }
+ Bitmap bmp = new(pictureBoxCatamaran.Width, pictureBoxCatamaran.Height);
+ Graphics gr = Graphics.FromImage(bmp);
+ _drawningCatamaran.DrawTransport(gr);
+ pictureBoxCatamaran.Image = bmp;
+ }
+
+ private void ButtonMove_Click(object sender, EventArgs e)
+ {
+ if (_drawningCatamaran == null)
+ {
+ return;
+ }
+ string name = ((Button)sender)?.Name ?? string.Empty;
+ bool result = false;
+ switch (name)
+ {
+ case "buttonUp":
+ result = _drawningCatamaran.MoveTransport(DirectionType.Up);
+ break;
+ case "buttonDown":
+ result = _drawningCatamaran.MoveTransport(DirectionType.Down);
+ break;
+ case "buttonLeft":
+ result = _drawningCatamaran.MoveTransport(DirectionType.Left);
+ break;
+ case "buttonRight":
+ result = _drawningCatamaran.MoveTransport(DirectionType.Right);
+ break;
+ }
+ if (result)
+ {
+ Draw();
+ }
+ }
+
+ private void ButtonCreateCatamaran_Click(object sender, EventArgs e)
+ {
+ Random random = new Random();
+ _drawningCatamaran = new DrawningCatamaran();
+ _drawningCatamaran.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)));
+
+ _drawningCatamaran.SetPictureSize(pictureBoxCatamaran.Width, pictureBoxCatamaran.Height);
+ _drawningCatamaran.SetPosition(random.Next(10, 100), random.Next(10, 100));
+ Draw();
+ }
+ }
+}
\ No newline at end of file
diff --git a/ProjectCatamaran/ProjectCatamaran/FormCatamaran.resx b/ProjectCatamaran/ProjectCatamaran/FormCatamaran.resx
new file mode 100644
index 0000000..af32865
--- /dev/null
+++ b/ProjectCatamaran/ProjectCatamaran/FormCatamaran.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/ProjectCatamaran/ProjectCatamaran/Program.cs b/ProjectCatamaran/ProjectCatamaran/Program.cs
index 9fbc3e7..4d620b5 100644
--- a/ProjectCatamaran/ProjectCatamaran/Program.cs
+++ b/ProjectCatamaran/ProjectCatamaran/Program.cs
@@ -11,7 +11,7 @@ namespace ProjectCatamaran
// 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 FormCatamaran());
}
}
}
\ No newline at end of file
diff --git a/ProjectCatamaran/ProjectCatamaran/ProjectCatamaran.csproj b/ProjectCatamaran/ProjectCatamaran/ProjectCatamaran.csproj
index 663fdb8..af03d74 100644
--- a/ProjectCatamaran/ProjectCatamaran/ProjectCatamaran.csproj
+++ b/ProjectCatamaran/ProjectCatamaran/ProjectCatamaran.csproj
@@ -8,4 +8,19 @@
enable
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
\ No newline at end of file
diff --git a/ProjectCatamaran/ProjectCatamaran/Properties/Resources.Designer.cs b/ProjectCatamaran/ProjectCatamaran/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..77ae0a2
--- /dev/null
+++ b/ProjectCatamaran/ProjectCatamaran/Properties/Resources.Designer.cs
@@ -0,0 +1,103 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace ProjectCatamaran.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [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() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [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("ProjectCatamaran.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap down {
+ get {
+ object obj = ResourceManager.GetObject("down", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap fdcc84704da3ed14a83779fbf91e00fb {
+ get {
+ object obj = ResourceManager.GetObject("fdcc84704da3ed14a83779fbf91e00fb", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap left {
+ get {
+ object obj = ResourceManager.GetObject("left", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap right {
+ get {
+ object obj = ResourceManager.GetObject("right", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/ProjectCatamaran/ProjectCatamaran/Properties/Resources.resx b/ProjectCatamaran/ProjectCatamaran/Properties/Resources.resx
new file mode 100644
index 0000000..4c773c4
--- /dev/null
+++ b/ProjectCatamaran/ProjectCatamaran/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\down.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\fdcc84704da3ed14a83779fbf91e00fb.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\left.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
+
+
\ No newline at end of file
diff --git a/ProjectCatamaran/ProjectCatamaran/Resources/down.jpg b/ProjectCatamaran/ProjectCatamaran/Resources/down.jpg
new file mode 100644
index 0000000..1d4311b
Binary files /dev/null and b/ProjectCatamaran/ProjectCatamaran/Resources/down.jpg differ
diff --git a/ProjectCatamaran/ProjectCatamaran/Resources/fdcc84704da3ed14a83779fbf91e00fb.jpg b/ProjectCatamaran/ProjectCatamaran/Resources/fdcc84704da3ed14a83779fbf91e00fb.jpg
new file mode 100644
index 0000000..b3ff47b
Binary files /dev/null and b/ProjectCatamaran/ProjectCatamaran/Resources/fdcc84704da3ed14a83779fbf91e00fb.jpg differ
diff --git a/ProjectCatamaran/ProjectCatamaran/Resources/left.jpg b/ProjectCatamaran/ProjectCatamaran/Resources/left.jpg
new file mode 100644
index 0000000..0837057
Binary files /dev/null and b/ProjectCatamaran/ProjectCatamaran/Resources/left.jpg differ
diff --git a/ProjectCatamaran/ProjectCatamaran/Resources/right.jpg b/ProjectCatamaran/ProjectCatamaran/Resources/right.jpg
new file mode 100644
index 0000000..5d61aca
Binary files /dev/null and b/ProjectCatamaran/ProjectCatamaran/Resources/right.jpg differ