diff --git a/base/Catamaran/Catamaran/Catamaran.Designer.cs b/base/Catamaran/Catamaran/Catamaran.Designer.cs
new file mode 100644
index 0000000..101992c
--- /dev/null
+++ b/base/Catamaran/Catamaran/Catamaran.Designer.cs
@@ -0,0 +1,137 @@
+namespace Catamaran
+{
+ partial class Catamaran
+ {
+ ///
+ /// 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.pictureBoxCatamaran = new System.Windows.Forms.PictureBox();
+ this.buttonCreate = new System.Windows.Forms.Button();
+ this.buttonUp = new System.Windows.Forms.Button();
+ this.buttonRight = new System.Windows.Forms.Button();
+ this.buttonLeft = new System.Windows.Forms.Button();
+ this.buttonDown = new System.Windows.Forms.Button();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBoxCatamaran)).BeginInit();
+ this.SuspendLayout();
+ //
+ // pictureBoxCatamaran
+ //
+ this.pictureBoxCatamaran.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.pictureBoxCatamaran.Location = new System.Drawing.Point(0, 0);
+ this.pictureBoxCatamaran.Name = "pictureBoxCatamaran";
+ this.pictureBoxCatamaran.Size = new System.Drawing.Size(884, 461);
+ this.pictureBoxCatamaran.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
+ this.pictureBoxCatamaran.TabIndex = 0;
+ this.pictureBoxCatamaran.TabStop = false;
+ //
+ // buttonCreate
+ //
+ this.buttonCreate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.buttonCreate.Location = new System.Drawing.Point(12, 426);
+ this.buttonCreate.Name = "buttonCreate";
+ this.buttonCreate.Size = new System.Drawing.Size(75, 23);
+ this.buttonCreate.TabIndex = 1;
+ this.buttonCreate.Text = "Создать";
+ this.buttonCreate.UseVisualStyleBackColor = true;
+ this.buttonCreate.Click += new System.EventHandler(this.buttonCreate_Click);
+ //
+ // buttonUp
+ //
+ this.buttonUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonUp.BackgroundImage = global::Catamaran.Properties.Resources.upper_arrow;
+ this.buttonUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.buttonUp.Location = new System.Drawing.Point(806, 386);
+ this.buttonUp.Name = "buttonUp";
+ this.buttonUp.Size = new System.Drawing.Size(30, 30);
+ this.buttonUp.TabIndex = 2;
+ this.buttonUp.UseVisualStyleBackColor = true;
+ this.buttonUp.Click += new System.EventHandler(this.buttonMove_Click);
+ //
+ // buttonRight
+ //
+ this.buttonRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonRight.BackgroundImage = global::Catamaran.Properties.Resources.right_arrow;
+ this.buttonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.buttonRight.Location = new System.Drawing.Point(842, 422);
+ this.buttonRight.Name = "buttonRight";
+ this.buttonRight.Size = new System.Drawing.Size(30, 30);
+ this.buttonRight.TabIndex = 3;
+ this.buttonRight.UseVisualStyleBackColor = true;
+ this.buttonRight.Click += new System.EventHandler(this.buttonMove_Click);
+ //
+ // buttonLeft
+ //
+ this.buttonLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonLeft.BackgroundImage = global::Catamaran.Properties.Resources.left_arrow;
+ this.buttonLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.buttonLeft.Location = new System.Drawing.Point(770, 422);
+ this.buttonLeft.Name = "buttonLeft";
+ this.buttonLeft.Size = new System.Drawing.Size(30, 30);
+ this.buttonLeft.TabIndex = 4;
+ this.buttonLeft.UseVisualStyleBackColor = true;
+ this.buttonLeft.Click += new System.EventHandler(this.buttonMove_Click);
+ //
+ // buttonDown
+ //
+ this.buttonDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonDown.BackgroundImage = global::Catamaran.Properties.Resources.down_arrow;
+ this.buttonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.buttonDown.Location = new System.Drawing.Point(806, 422);
+ this.buttonDown.Name = "buttonDown";
+ this.buttonDown.Size = new System.Drawing.Size(30, 30);
+ this.buttonDown.TabIndex = 5;
+ this.buttonDown.UseVisualStyleBackColor = true;
+ this.buttonDown.Click += new System.EventHandler(this.buttonMove_Click);
+ //
+ // Catamaran
+ //
+ this.ClientSize = new System.Drawing.Size(884, 461);
+ this.Controls.Add(this.buttonDown);
+ this.Controls.Add(this.buttonLeft);
+ this.Controls.Add(this.buttonRight);
+ this.Controls.Add(this.buttonUp);
+ this.Controls.Add(this.buttonCreate);
+ this.Controls.Add(this.pictureBoxCatamaran);
+ this.Name = "Catamaran";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "Катамаран";
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBoxCatamaran)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+
+ private Button buttonCreate;
+ private PictureBox pictureBoxCatamaran;
+ private Button buttonUp;
+ private Button buttonRight;
+ private Button buttonLeft;
+ private Button buttonDown;
+ }
+}
\ No newline at end of file
diff --git a/base/Catamaran/Catamaran/Catamaran.cs b/base/Catamaran/Catamaran/Catamaran.cs
new file mode 100644
index 0000000..578fcda
--- /dev/null
+++ b/base/Catamaran/Catamaran/Catamaran.cs
@@ -0,0 +1,82 @@
+namespace Catamaran
+{
+ public partial class Catamaran : Form
+ {
+ ///
+ /// -
+ ///
+ private DrawningCatamaran? _drawningCatamaran;
+
+ ///
+ ///
+ ///
+ 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;
+ }
+ ///
+ /// ""
+ ///
+ ///
+ ///
+ public Catamaran()
+ {
+ InitializeComponent();
+ }
+
+ 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(Direction.Up);
+ break;
+ case "buttonDown":
+ _drawningCatamaran.MoveTransport(Direction.Down);
+ break;
+ case "buttonLeft":
+ _drawningCatamaran.MoveTransport(Direction.Left);
+ break;
+ case "buttonRight":
+ _drawningCatamaran.MoveTransport(Direction.Right);
+ break;
+ }
+ Draw();
+ }
+
+
+
+ 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)), pictureBoxCatamaran.Width, pictureBoxCatamaran.Height);
+ _drawningCatamaran.SetPosition(random.Next(10, 100),
+ random.Next(10, 100));
+ Draw();
+ }
+
+
+
+ }
+}
diff --git a/base/Catamaran/Catamaran/Catamaran.csproj b/base/Catamaran/Catamaran/Catamaran.csproj
index b57c89e..13ee123 100644
--- a/base/Catamaran/Catamaran/Catamaran.csproj
+++ b/base/Catamaran/Catamaran/Catamaran.csproj
@@ -8,4 +8,19 @@
enable
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
\ No newline at end of file
diff --git a/base/Catamaran/Catamaran/Catamaran.resx b/base/Catamaran/Catamaran/Catamaran.resx
new file mode 100644
index 0000000..f298a7b
--- /dev/null
+++ b/base/Catamaran/Catamaran/Catamaran.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/base/Catamaran/Catamaran/Direction.cs b/base/Catamaran/Catamaran/Direction.cs
new file mode 100644
index 0000000..4625a88
--- /dev/null
+++ b/base/Catamaran/Catamaran/Direction.cs
@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Catamaran
+{
+ ///
+ /// Направление перемещения
+ ///
+ public enum Direction
+ {
+ ///
+ /// Вверх
+ ///
+ Up = 1,
+ //
+ /// Вниз
+ ///
+ Down = 2,
+ ///
+ /// Влево
+ ///
+ Left = 3,
+ ///
+ /// Вправо
+ ///
+ Right = 4
+ }
+}
diff --git a/base/Catamaran/Catamaran/DrawningCatamaran.cs b/base/Catamaran/Catamaran/DrawningCatamaran.cs
new file mode 100644
index 0000000..a21f635
--- /dev/null
+++ b/base/Catamaran/Catamaran/DrawningCatamaran.cs
@@ -0,0 +1,201 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Catamaran
+{
+ ///
+ /// Класс, отвечающий за прорисовку и перемещение объекта-сущности
+ ///
+ internal class DrawningCatamaran
+ {
+ ///
+ /// Класс-сущность
+ ///
+ public EntityCatamaran? EntityCatamaran { get; private set; }
+ ///
+ /// Ширина окна
+ ///
+ private int _pictureWidth;
+ ///
+ /// Высота окна
+ ///
+ private int _pictureHeight;
+ ///
+ /// Левая координата прорисовки катамарана
+ ///
+ private int _startPosX;
+ ///
+ /// Верхняя кооридната прорисовки катамарана
+ ///
+ private int _startPosY;
+ ///
+ /// Ширина прорисовки катамарана
+ ///
+ private readonly int _CatamaranWidth = 190;
+ ///
+ /// Высота прорисовки катамарана
+ ///
+ private readonly int _CatamaranHeight = 120;
+ ///
+ /// Инициализация свойств
+ ///
+ /// Скорость
+ /// Вес
+ /// Цвет корпуса
+ /// Дополнительный цвет
+ /// Признак наличия паруса
+ /// Признак наличия поплавков
+ /// Ширина картинки
+ /// Высота картинки
+ /// true - объект создан, false - проверка не пройдена, нельзя создать объект в этих размерах
+ public bool Init(int speed, double weight, Color bodyColor, Color
+ additionalColor, bool sail, bool floatDetail, int width, int height)
+ {
+ if (width >= _CatamaranWidth && height >= _CatamaranHeight)
+ {
+ _pictureWidth = width;
+ _pictureHeight = height;
+
+ EntityCatamaran = new EntityCatamaran();
+ EntityCatamaran.Init(speed, weight, bodyColor, additionalColor, sail, floatDetail);
+ return true;
+ }
+ else
+ {
+ return false; // Возвращаем false, если размеры формы недостаточны
+ }
+
+ }
+ ///
+ /// Установка позиции
+ ///
+ /// Координата X
+ /// Координата Y
+ public void SetPosition(int x, int y)
+ {
+ if (x >= 0 && x + _CatamaranWidth <= _pictureWidth && y >= 0 && y + _CatamaranHeight <= _pictureHeight)
+ {
+ _startPosX = x;
+ _startPosY = y;
+ }
+ }
+ ///
+ /// Изменение направления перемещения
+ ///
+ /// Направление
+ public void MoveTransport(Direction direction)
+ {
+ if (EntityCatamaran == null)
+ {
+ return;
+ }
+ switch (direction)
+ {
+ //влево
+ case Direction.Left:
+ if (_startPosX - EntityCatamaran.Step > 0)
+ {
+ _startPosX -= (int)EntityCatamaran.Step;
+ }
+ break;
+ //вверх
+ case Direction.Up:
+ if (_startPosY - EntityCatamaran.Step > 0)
+ {
+ _startPosY -= (int)EntityCatamaran.Step;
+ }
+ break;
+ // вправо
+ case Direction.Right:
+ if (_startPosX + _CatamaranWidth + EntityCatamaran.Step < _pictureWidth )
+ {
+ _startPosX += (int)EntityCatamaran.Step;
+ }
+ break;
+ //вниз
+ case Direction.Down:
+ if (_startPosY + _CatamaranHeight + EntityCatamaran.Step < _pictureHeight)
+ {
+ _startPosY += (int)EntityCatamaran.Step;
+ }
+ break;
+ }
+ }
+ ///
+ /// Прорисовка объекта
+ ///
+ ///
+ public void DrawTransport(Graphics g)
+ {
+ if (EntityCatamaran == null)
+ {
+ return;
+ }
+ Pen pen = new(Color.Black, 3);
+ Brush additionalBrush = new
+ SolidBrush(EntityCatamaran.AdditionalColor);
+ Brush bodyBrush = new
+ SolidBrush(EntityCatamaran.BodyColor);
+
+ //поплавки
+ if (EntityCatamaran.Float)
+ {
+
+ Point[] floatDetail1 = new Point[]
+ {
+ new Point(_startPosX, _startPosY + 40),
+ new Point(_startPosX + 170, _startPosY + 40),
+ new Point(_startPosX + 190, _startPosY + 55),
+ new Point(_startPosX + 170, _startPosY + 70),
+ new Point(_startPosX, _startPosY + 70),
+ };
+ Point[] floatDetail2 = new Point[]
+ {
+ new Point(_startPosX, _startPosY + 90),
+ new Point(_startPosX + 170, _startPosY + 90),
+ new Point(_startPosX + 190, _startPosY + 105),
+ new Point(_startPosX + 170, _startPosY + 120),
+ new Point(_startPosX, _startPosY + 120),
+ };
+ g.FillPolygon(additionalBrush, floatDetail1);
+ g.FillPolygon(additionalBrush, floatDetail2);
+ g.DrawPolygon(pen, floatDetail1);
+ g.DrawPolygon(pen, floatDetail2);
+ }
+ //основание катамарана
+ Point[] hull = new Point[]
+ {
+ new Point(_startPosX + 20, _startPosY + 50),
+ new Point(_startPosX + 130, _startPosY + 50),
+ new Point(_startPosX + 170, _startPosY + 80),
+ new Point(_startPosX + 130, _startPosY + 110),
+ new Point(_startPosX + 20, _startPosY + 110),
+ };
+
+ g.FillPolygon(bodyBrush, hull);
+ g.DrawPolygon(pen, hull);
+ SolidBrush brushBrown = new SolidBrush(Color.Brown);
+ g.FillEllipse(brushBrown, _startPosX + 30, _startPosY + 60, 100, 40);
+
+ //парус
+ if (EntityCatamaran.Sail)
+ {
+ Point[] sail = new Point[]
+ {
+ new Point(_startPosX + 30, _startPosY + 80),
+ new Point(_startPosX + 70, _startPosY+10),
+ new Point(_startPosX + 145, _startPosY + 80),
+
+ };
+ g.DrawPolygon(pen, sail);
+ g.FillPolygon(additionalBrush, sail);
+ g.DrawPolygon(pen, sail);
+ g.DrawRectangle(pen, _startPosX + 70, _startPosY, 3, 85);
+ }
+ }
+ }
+}
+
diff --git a/base/Catamaran/Catamaran/EntityCatamaran.cs b/base/Catamaran/Catamaran/EntityCatamaran.cs
new file mode 100644
index 0000000..8b02403
--- /dev/null
+++ b/base/Catamaran/Catamaran/EntityCatamaran.cs
@@ -0,0 +1,59 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Catamaran
+{
+ internal class EntityCatamaran
+ {
+ ///
+ /// Скорость
+ ///
+ 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 Sail { get; private set; }
+ ///
+ /// Признак (опция) наличия поплавков
+ ///
+ public bool Float { get; private set; }
+ ///
+ /// Шаг перемещения катамарана
+ ///
+ public double Step => (double)Speed * 100 / Weight;
+ ///
+ /// Инициализация полей объекта-класса катамарана
+ ///
+ /// Скорость
+ /// Вес автомобиля
+ /// Основной цвет
+ /// Дополнительный цвет
+ /// Признак наличия паруса
+ /// Признак наличия поплавков
+ public void Init(int speed, double weight, Color bodyColor, Color
+ additionalColor, bool sail, bool floatDetail)
+ {
+ Speed = speed;
+ Weight = weight;
+ BodyColor = bodyColor;
+ AdditionalColor = additionalColor;
+ Sail = sail;
+ Float = floatDetail;
+ }
+ }
+}
diff --git a/base/Catamaran/Catamaran/Form1.Designer.cs b/base/Catamaran/Catamaran/Form1.Designer.cs
deleted file mode 100644
index 148155e..0000000
--- a/base/Catamaran/Catamaran/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace Catamaran
-{
- 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/base/Catamaran/Catamaran/Form1.cs b/base/Catamaran/Catamaran/Form1.cs
deleted file mode 100644
index b30ad95..0000000
--- a/base/Catamaran/Catamaran/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace Catamaran
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
\ No newline at end of file
diff --git a/base/Catamaran/Catamaran/Program.cs b/base/Catamaran/Catamaran/Program.cs
index 9bf4205..7bbda1a 100644
--- a/base/Catamaran/Catamaran/Program.cs
+++ b/base/Catamaran/Catamaran/Program.cs
@@ -11,7 +11,7 @@ namespace Catamaran
// 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 Catamaran());
}
}
}
\ No newline at end of file
diff --git a/base/Catamaran/Catamaran/Properties/Resources.Designer.cs b/base/Catamaran/Catamaran/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..d77aee9
--- /dev/null
+++ b/base/Catamaran/Catamaran/Properties/Resources.Designer.cs
@@ -0,0 +1,103 @@
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+namespace Catamaran.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("Catamaran.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 down_arrow {
+ get {
+ object obj = ResourceManager.GetObject("down-arrow", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap left_arrow {
+ get {
+ object obj = ResourceManager.GetObject("left-arrow", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap right_arrow {
+ get {
+ object obj = ResourceManager.GetObject("right-arrow", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap upper_arrow {
+ get {
+ object obj = ResourceManager.GetObject("upper-arrow", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/base/Catamaran/Catamaran/Properties/Resources.resx b/base/Catamaran/Catamaran/Properties/Resources.resx
new file mode 100644
index 0000000..f4f3416
--- /dev/null
+++ b/base/Catamaran/Catamaran/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-arrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\left-arrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\right-arrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\upper-arrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
\ No newline at end of file
diff --git a/base/Catamaran/Catamaran/Resources/down-arrow.png b/base/Catamaran/Catamaran/Resources/down-arrow.png
new file mode 100644
index 0000000..9d67143
Binary files /dev/null and b/base/Catamaran/Catamaran/Resources/down-arrow.png differ
diff --git a/base/Catamaran/Catamaran/Resources/left-arrow.png b/base/Catamaran/Catamaran/Resources/left-arrow.png
new file mode 100644
index 0000000..046470d
Binary files /dev/null and b/base/Catamaran/Catamaran/Resources/left-arrow.png differ
diff --git a/base/Catamaran/Catamaran/Resources/right-arrow.png b/base/Catamaran/Catamaran/Resources/right-arrow.png
new file mode 100644
index 0000000..fac4c96
Binary files /dev/null and b/base/Catamaran/Catamaran/Resources/right-arrow.png differ
diff --git a/base/Catamaran/Catamaran/Resources/upper-arrow.png b/base/Catamaran/Catamaran/Resources/upper-arrow.png
new file mode 100644
index 0000000..0bc323d
Binary files /dev/null and b/base/Catamaran/Catamaran/Resources/upper-arrow.png differ