diff --git a/ProjectCatamaran/Directions.cs b/ProjectCatamaran/Directions.cs
new file mode 100644
index 0000000..3ed1f86
--- /dev/null
+++ b/ProjectCatamaran/Directions.cs
@@ -0,0 +1,31 @@
+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
+ }
+}
diff --git a/ProjectCatamaran/DrawingCatamaran.cs b/ProjectCatamaran/DrawingCatamaran.cs
new file mode 100644
index 0000000..0fd8102
--- /dev/null
+++ b/ProjectCatamaran/DrawingCatamaran.cs
@@ -0,0 +1,236 @@
+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 int _CatamaranWidth = 200;
+ ///
+ /// Высота прорисовки автомобиля
+ ///
+ private int _CatamaranHeight = 120;
+ ///
+ /// Инициализация свойств
+ ///
+ /// Скорость
+ /// Вес
+ /// Цвет кузова
+ /// Дополнительный цвет
+ /// /// Лодка
+ /// /// Дополнительный цвет
+ /// Ширина картинки
+ /// Высота картинки
+ /// true - объект создан, false - проверка не пройдена, нельзя создать объект в этих размерах
+/* public bool Init(int speed, double weight, Color bodyColor, Color
+ additionalColor, bool boat, bool leftfloater, bool rightfloater, int width, int height)*/
+ public bool Init(int speed, double weight, Color bodyColor, Color
+ additionalColor, bool boat, bool leftfloater, bool rightfloater, int width, int height)
+ {
+ if (width < _pictureWidth || height < _pictureHeight)
+ {
+ return false;
+ }
+ if (!leftfloater && !rightfloater)
+ {
+ _CatamaranHeight = 90;
+ }
+ else
+ {
+ _CatamaranHeight = 110;
+ }
+ _pictureWidth = width;
+ _pictureHeight = height;
+ EntityCatamaran = new EntityCatamaran();
+ EntityCatamaran.Init(speed, weight, bodyColor, additionalColor, boat, leftfloater, rightfloater);
+
+ return true;
+ }
+ ///
+ /// Установка позиции
+ ///
+ /// Координата X
+ /// Координата Y
+ public void SetPosition(int x, int y)
+ {
+ if (x < 0 || x + _CatamaranWidth > _pictureWidth)
+ {
+ x = 20;
+ }
+ if (y < 0 || y + _CatamaranHeight > _pictureHeight)
+ {
+ y = 20;
+ }
+ _startPosX = x;
+ _startPosY = y;
+
+ }
+ ///
+ /// Изменение направления перемещения
+ ///
+ /// Направление
+ public void MoveTransport(DirectionType direction)
+ {
+ if (EntityCatamaran == null)
+ {
+ return;
+ }
+ switch (direction)
+ {
+ //влево
+ case DirectionType.Left:
+ if (_startPosX - EntityCatamaran.Step > 0)
+ {
+ _startPosX -= (int)EntityCatamaran.Step;
+ }
+ else
+ {
+ _startPosX = 0;
+ }
+ break;
+ //вверх
+ case DirectionType.Up:
+ if (_startPosY - EntityCatamaran.Step > 0)
+ {
+ _startPosY -= (int)EntityCatamaran.Step;
+ }
+ else
+ {
+ _startPosY = 0;
+ }
+ break;
+ // вправо
+ case DirectionType.Right:
+ if (_startPosX + _CatamaranWidth + EntityCatamaran.Step <= _pictureWidth)
+ {
+ _startPosX += (int)EntityCatamaran.Step;
+ }
+ else
+ {
+ _startPosX = _pictureWidth - _CatamaranWidth;
+ }
+ break;
+ //вниз
+ case DirectionType.Down:
+ if (_startPosY + _CatamaranHeight + EntityCatamaran.Step <= _pictureHeight)
+ {
+ _startPosY += (int)EntityCatamaran.Step;
+ }
+ else
+ {
+ _startPosY = _pictureHeight - _CatamaranHeight;
+ }
+ break;
+ }
+ }
+
+ ///
+ /// Прорисовка объекта
+ ///
+ ///
+ public void DrawTransport(Graphics g)
+ {
+ if (EntityCatamaran == null)
+ {
+ return;
+ }
+
+ Pen pen = new(Color.Black);
+ Brush additionalBrush = new SolidBrush(EntityCatamaran.AdditionalColor);
+
+ // катамаран
+
+ // границы катамарана
+ g.DrawLine(pen, _startPosX + 10, _startPosY + 30, _startPosX + 150, _startPosY + 30);
+ g.DrawLine(pen, _startPosX + 150, _startPosY + 30, _startPosX + 150, _startPosY + 80);
+ g.DrawLine(pen, _startPosX + 10, _startPosY + 80, _startPosX + 150, _startPosY + 80);
+ g.DrawLine(pen, _startPosX + 150, _startPosY + 30, _startPosX + 200, _startPosY + 55);
+ g.DrawLine(pen, _startPosX + 200, _startPosY + 55, _startPosX + 150, _startPosY + 55);
+ g.DrawLine(pen, _startPosX + 200, _startPosY + 55, _startPosX + 150, _startPosY + 80);
+ g.DrawLine(pen, _startPosX + 10, _startPosY + 30, _startPosX + 10, _startPosY + 80);
+
+ Brush brGray = new SolidBrush(Color.Brown);
+ Point point1 = new Point(_startPosX + 10, _startPosY + 30);
+ Point point2 = new Point(_startPosX + 150, _startPosY + 30);
+ Point point3 = new Point(_startPosX + 150, _startPosY + 80);
+ Point point4 = new Point(_startPosX + 10, _startPosY + 80);
+ Point[] nos0 = { point1, point2, point3, point4 };
+ g.FillPolygon(brGray, nos0);
+ g.DrawLine(pen, _startPosX + 40, _startPosY + 40, _startPosX + 120, _startPosY + 40);
+ g.DrawLine(pen, _startPosX + 40, _startPosY + 70, _startPosX + 120, _startPosY + 70);
+ g.DrawPie(pen, _startPosX + 30, _startPosY + 40, 20, 30, 90, 180);
+ g.DrawPie(pen, _startPosX + 111, _startPosY + 40, 20, 30, 270, 180);
+
+
+ Brush mainBrush = new SolidBrush(EntityCatamaran.BodyColor);
+
+ point1 = new Point(_startPosX + 150, _startPosY + 30);
+ point2 = new Point(_startPosX + 200, _startPosY + 55);
+ point3 = new Point(_startPosX + 150, _startPosY + 55);
+ Point[] nos1 = { point1, point2, point3, point1 };
+ g.FillPolygon(brGray, nos1);
+ point4 = new Point(_startPosX + 150, _startPosY + 55);
+ Point point5 = new Point(_startPosX + 200, _startPosY + 55);
+ Point point6 = new Point(_startPosX + 150, _startPosY + 80);
+ Point[] nos2 = { point4, point5, point6, point4 };
+ g.FillPolygon(brGray, nos2);
+
+ //поплавки
+ if (EntityCatamaran.LeftFloater)
+ {
+ g.DrawEllipse(pen, _startPosX + 10, _startPosY + 10, 135, 20);
+ g.FillEllipse(additionalBrush, _startPosX + 10, _startPosY + 10, 135, 20);
+ }
+
+ if (EntityCatamaran.RightFloater)
+ {
+ g.DrawEllipse(pen, _startPosX + 10, _startPosY + 80, 135, 20);
+ g.FillEllipse(additionalBrush,_startPosX + 10, _startPosY + 80, 135, 20);
+ }
+
+ if (EntityCatamaran.Boat)
+ {
+ g.DrawLine(pen, _startPosX + 80, _startPosY + 55, _startPosX + 80, _startPosY + 0);
+ g.DrawLine(pen, _startPosX + 80, _startPosY + 0, _startPosX + 65, _startPosY + 50);
+ g.DrawLine(pen, _startPosX + 65, _startPosY + 50, _startPosX + 80, _startPosY + 50);
+ Point[] nos3 = { new Point(_startPosX + 80, _startPosY + 50), new Point(_startPosX + 80, _startPosY + 0), new Point(_startPosX + 65, _startPosY + 50) };
+ Brush brWhite = new SolidBrush(Color.White);
+ g.FillPolygon(brWhite, nos3);
+ }
+
+
+ }
+
+ }
+}
diff --git a/ProjectCatamaran/EntityCatamaran.cs b/ProjectCatamaran/EntityCatamaran.cs
new file mode 100644
index 0000000..f8e9b8a
--- /dev/null
+++ b/ProjectCatamaran/EntityCatamaran.cs
@@ -0,0 +1,62 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ProjectCatamaran
+{
+ public class EntityCatamaran
+ {
+ ///
+ /// Скорость
+ ///
+ public int Speed { get; private set; }
+ ///
+ /// Вес
+ ///
+ public double Weight { get; private set; }
+ ///
+ /// Основной цвет
+ ///
+ public Color BodyColor { get; private set; }
+ ///
+ /// Лодка
+ ///
+ public bool Boat { get; private set; }
+ ///
+ /// Лодка
+ ///
+ public bool LeftFloater { get; private set; }
+ ///
+ /// Дополнительный цвет (для опциональных элементов)
+ ///
+ public bool RightFloater { get; private set; }
+ ///
+ /// Дополнительный цвет (для опциональных элементов)
+ ///
+ public Color AdditionalColor { get; private set; }
+ ///
+ /// Шаг перемещения автомобиля
+ ///
+ public double Step => (double)Speed * 100 / Weight;
+ ///
+ /// Инициализация полей объекта-класса спортивного автомобиля
+ ///
+ /// Скорость
+ /// Вес автомобиля
+ /// Основной цвет
+ /// Дополнительный цвет
+ public void Init(int speed, double weight, Color bodyColor, Color
+ additionalColor, bool boat, bool leftfloater, bool rightfloater)
+ {
+ Speed = speed;
+ Weight = weight;
+ BodyColor = bodyColor;
+ AdditionalColor = additionalColor;
+ Boat = boat;
+ LeftFloater = leftfloater;
+ RightFloater = rightfloater;
+ }
+ }
+}
diff --git a/ProjectCatamaran/FormCatamaran.Designer.cs b/ProjectCatamaran/FormCatamaran.Designer.cs
new file mode 100644
index 0000000..841d832
--- /dev/null
+++ b/ProjectCatamaran/FormCatamaran.Designer.cs
@@ -0,0 +1,137 @@
+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();
+ buttonCreate = new Button();
+ buttonRight = new Button();
+ buttonDown = new Button();
+ buttonLeft = new Button();
+ buttonUp = 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(884, 480);
+ pictureBoxCatamaran.SizeMode = PictureBoxSizeMode.AutoSize;
+ pictureBoxCatamaran.TabIndex = 0;
+ pictureBoxCatamaran.TabStop = false;
+ //
+ // buttonCreate
+ //
+ buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
+ buttonCreate.Location = new Point(0, 438);
+ buttonCreate.Name = "buttonCreate";
+ buttonCreate.Size = new Size(75, 23);
+ buttonCreate.TabIndex = 1;
+ buttonCreate.Text = "Создать";
+ buttonCreate.UseVisualStyleBackColor = true;
+ buttonCreate.Click += buttonCreate_Click;
+ //
+ // buttonRight
+ //
+ buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonRight.BackgroundImage = Properties.Resources.arrowRight2;
+ buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
+ buttonRight.Location = new Point(854, 431);
+ buttonRight.Name = "buttonRight";
+ buttonRight.Size = new Size(30, 30);
+ buttonRight.TabIndex = 2;
+ buttonRight.UseVisualStyleBackColor = true;
+ buttonRight.Click += buttonMove_Click;
+ //
+ // buttonDown
+ //
+ buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonDown.BackgroundImage = Properties.Resources.arrowDown2;
+ buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
+ buttonDown.Location = new Point(818, 431);
+ buttonDown.Name = "buttonDown";
+ buttonDown.Size = new Size(30, 30);
+ buttonDown.TabIndex = 3;
+ buttonDown.UseVisualStyleBackColor = true;
+ buttonDown.Click += buttonMove_Click;
+ //
+ // buttonLeft
+ //
+ buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
+ buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
+ buttonLeft.Location = new Point(782, 431);
+ buttonLeft.Name = "buttonLeft";
+ buttonLeft.Size = new Size(30, 30);
+ buttonLeft.TabIndex = 4;
+ buttonLeft.UseVisualStyleBackColor = true;
+ buttonLeft.Click += buttonMove_Click;
+ //
+ // buttonUp
+ //
+ buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonUp.BackgroundImage = Properties.Resources.arrowUp2;
+ buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
+ buttonUp.Location = new Point(818, 395);
+ buttonUp.Name = "buttonUp";
+ buttonUp.Size = new Size(30, 30);
+ buttonUp.TabIndex = 5;
+ buttonUp.UseVisualStyleBackColor = true;
+ buttonUp.Click += buttonMove_Click;
+ //
+ // Catamaran
+ //
+ AutoScaleDimensions = new SizeF(7F, 15F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(884, 461);
+ Controls.Add(buttonUp);
+ Controls.Add(buttonLeft);
+ Controls.Add(buttonDown);
+ Controls.Add(buttonRight);
+ Controls.Add(buttonCreate);
+ Controls.Add(pictureBoxCatamaran);
+ Name = "Catamaran";
+ StartPosition = FormStartPosition.CenterScreen;
+ Text = "Катамаран";
+ ((System.ComponentModel.ISupportInitialize)pictureBoxCatamaran).EndInit();
+ ResumeLayout(false);
+ PerformLayout();
+ }
+
+ #endregion
+
+ private PictureBox pictureBoxCatamaran;
+ private Button buttonCreate;
+ private Button buttonRight;
+ private Button buttonDown;
+ private Button buttonLeft;
+ private Button buttonUp;
+ }
+}
\ No newline at end of file
diff --git a/ProjectCatamaran/FormCatamaran.cs b/ProjectCatamaran/FormCatamaran.cs
new file mode 100644
index 0000000..7f84605
--- /dev/null
+++ b/ProjectCatamaran/FormCatamaran.cs
@@ -0,0 +1,59 @@
+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 g = Graphics.FromImage(bmp);
+ _drawningCatamaran.DrawTransport(g);
+ pictureBoxCatamaran.Image = bmp;
+ }
+
+ private void buttonCreate_Click(object sender, EventArgs e)
+ {
+ Random random = new();
+ _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)), Convert.ToBoolean(random.Next(0, 2)), pictureBoxCatamaran.Width, pictureBoxCatamaran.Height);
+ _drawningCatamaran.SetPosition(random.Next(10, 100), random.Next(10, 100));
+ Draw();
+ }
+
+ private void buttonMove_Click(object sender, EventArgs e)
+ {
+ if (_drawningCatamaran == null)
+ {
+ return;
+ }
+ string name = ((Button)sender)?.Name ?? string.Empty;
+ switch (name)
+ {
+ case "buttonUp":
+ _drawningCatamaran.MoveTransport(DirectionType.Up);
+ break;
+ case "buttonDown":
+ _drawningCatamaran.MoveTransport(DirectionType.Down);
+ break;
+ case "buttonLeft":
+ _drawningCatamaran.MoveTransport(DirectionType.Left);
+ break;
+ case "buttonRight":
+ _drawningCatamaran.MoveTransport(DirectionType.Right);
+ break;
+ }
+ Draw();
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/ProjectCatamaran/FormCatamaran.resx b/ProjectCatamaran/FormCatamaran.resx
new file mode 100644
index 0000000..f298a7b
--- /dev/null
+++ b/ProjectCatamaran/FormCatamaran.resx
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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/Program.cs b/ProjectCatamaran/Program.cs
new file mode 100644
index 0000000..4d620b5
--- /dev/null
+++ b/ProjectCatamaran/Program.cs
@@ -0,0 +1,17 @@
+namespace ProjectCatamaran
+{
+ internal static class Program
+ {
+ ///
+ /// The main entry point for the application.
+ ///
+ [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 FormCatamaran());
+ }
+ }
+}
\ No newline at end of file
diff --git a/ProjectCatamaran/ProjectCatamaran.csproj b/ProjectCatamaran/ProjectCatamaran.csproj
new file mode 100644
index 0000000..13ee123
--- /dev/null
+++ b/ProjectCatamaran/ProjectCatamaran.csproj
@@ -0,0 +1,26 @@
+
+
+
+ WinExe
+ net6.0-windows
+ enable
+ true
+ enable
+
+
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
+
\ No newline at end of file
diff --git a/ProjectCatamaran/ProjectCatamaran.sln b/ProjectCatamaran/ProjectCatamaran.sln
new file mode 100644
index 0000000..cc844e6
--- /dev/null
+++ b/ProjectCatamaran/ProjectCatamaran.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.3.32825.248
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProjectCatamaran", "ProjectCatamaran.csproj", "{0C35EDDA-B46A-4E49-8686-6A4DD2D8C857}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {0C35EDDA-B46A-4E49-8686-6A4DD2D8C857}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0C35EDDA-B46A-4E49-8686-6A4DD2D8C857}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0C35EDDA-B46A-4E49-8686-6A4DD2D8C857}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0C35EDDA-B46A-4E49-8686-6A4DD2D8C857}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {132880EA-11A6-49B8-BF91-9CF4828AE3FE}
+ EndGlobalSection
+EndGlobal
diff --git a/ProjectCatamaran/Properties/Resources.Designer.cs b/ProjectCatamaran/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..9148508
--- /dev/null
+++ b/ProjectCatamaran/Properties/Resources.Designer.cs
@@ -0,0 +1,103 @@
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+namespace ProjectCatamaran.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("ProjectCatamaran.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 arrowDown2 {
+ get {
+ object obj = ResourceManager.GetObject("arrowDown2", 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 arrowRight2 {
+ get {
+ object obj = ResourceManager.GetObject("arrowRight2", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap arrowUp2 {
+ get {
+ object obj = ResourceManager.GetObject("arrowUp2", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/ProjectCatamaran/Properties/Resources.resx b/ProjectCatamaran/Properties/Resources.resx
new file mode 100644
index 0000000..bbfde11
--- /dev/null
+++ b/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\arrowUp2.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\arrowRight2.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\arrowDown2.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\arrowLeft.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/Resources/arrowDown2.jpg b/ProjectCatamaran/Resources/arrowDown2.jpg
new file mode 100644
index 0000000..95facb9
Binary files /dev/null and b/ProjectCatamaran/Resources/arrowDown2.jpg differ
diff --git a/ProjectCatamaran/Resources/arrowLeft.jpg b/ProjectCatamaran/Resources/arrowLeft.jpg
new file mode 100644
index 0000000..3656a11
Binary files /dev/null and b/ProjectCatamaran/Resources/arrowLeft.jpg differ
diff --git a/ProjectCatamaran/Resources/arrowRight2.jpg b/ProjectCatamaran/Resources/arrowRight2.jpg
new file mode 100644
index 0000000..1607237
Binary files /dev/null and b/ProjectCatamaran/Resources/arrowRight2.jpg differ
diff --git a/ProjectCatamaran/Resources/arrowUp2.jpg b/ProjectCatamaran/Resources/arrowUp2.jpg
new file mode 100644
index 0000000..eb3a2fa
Binary files /dev/null and b/ProjectCatamaran/Resources/arrowUp2.jpg differ