diff --git a/ProjectLiner/ProjectLiner/DirectionType.cs b/ProjectLiner/ProjectLiner/DirectionType.cs
new file mode 100644
index 0000000..12c5fb2
--- /dev/null
+++ b/ProjectLiner/ProjectLiner/DirectionType.cs
@@ -0,0 +1,27 @@
+namespace ProjectLiner;
+
+///
+/// Направление перемещения
+///
+public enum DirectionType
+{
+ ///
+ /// Вверх
+ ///
+ Up = 1,
+
+ ///
+ /// Вниз
+ ///
+ Down = 2,
+
+ ///
+ /// Влево
+ ///
+ Left = 3,
+
+ ///
+ /// Вправо
+ ///
+ Right = 4
+}
\ No newline at end of file
diff --git a/ProjectLiner/ProjectLiner/DrawningLiner.cs b/ProjectLiner/ProjectLiner/DrawningLiner.cs
new file mode 100644
index 0000000..76d0856
--- /dev/null
+++ b/ProjectLiner/ProjectLiner/DrawningLiner.cs
@@ -0,0 +1,205 @@
+namespace ProjectLiner;
+
+///
+/// Класс, отвечающий за прорисовку и перемещение объекта-сущности
+///
+public class DrawningLiner
+{
+ ///
+ /// Класс-сущность
+ ///
+ public EntityLiner? EntityLiner { get; private set; }
+
+ ///
+ /// Ширина окна
+ ///
+ private int? _pictureWidth;
+
+ ///
+ /// Высота окна
+ ///
+ private int? _pictureHeight;
+
+ ///
+ /// Левая координата прорисовки лайнера
+ ///
+ private int? _startPosX;
+
+ ///
+ /// Верхняя кооридната прорисовки лайнера
+ ///
+ private int? _startPosY;
+
+ ///
+ /// Ширина прорисовки лайнера
+ ///
+ private readonly int _drawningLinerWidth = 180;
+
+ ///
+ /// Высота прорисовки лайнера
+ ///
+ private readonly int _drawningLinerHeight = 125;
+
+ ///
+ /// Инициализация свойств
+ ///
+ /// Скорость
+ /// Вес
+ /// Основной цвет
+ /// Дополнительный цвет
+ /// Признак наличия якоря
+ /// Признак наличия шлюпок
+ /// Признак наличия трубы
+ public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool anchor, bool boats, bool pipe)
+ {
+ EntityLiner = new EntityLiner();
+ EntityLiner.Init(speed, weight, bodyColor, additionalColor, anchor, boats, pipe);
+ _pictureWidth = null;
+ _pictureHeight = null;
+ _startPosX = null;
+ _startPosY = null;
+ }
+
+ ///
+ /// Установка границ поля
+ ///
+ /// Ширина поля
+ /// Высота поля
+ /// true - границы заданы, false - проверка не пройдена, нельзя разместить объект в этих размерах
+ public bool SetPictureSize(int width, int height)
+ {
+ _pictureWidth = width;
+ _pictureHeight = height;
+ return true;
+ }
+
+ ///
+ /// Установка позиции
+ ///
+ /// Координата X
+ /// Координата Y
+ public void SetPosition(int x, int y)
+ {
+ if (!_pictureHeight.HasValue || !_pictureWidth.HasValue)
+ {
+ return;
+ }
+
+ if (x < 0 || y < 0)
+ {
+ return;
+ }
+
+ _startPosX = x;
+ _startPosY = y;
+ }
+
+ ///
+ /// Изменение направления перемещения
+ ///
+ /// Направление
+ /// true - перемещене выполнено, false - перемещение невозможно
+ public bool MoveTransport(DirectionType direction)
+ {
+ if (EntityLiner == null || !_startPosX.HasValue || !_startPosY.HasValue)
+ {
+ return false;
+ }
+
+ switch (direction)
+ {
+ //влево
+ case DirectionType.Left:
+ if (_startPosX.Value - EntityLiner.Step > 0)
+ {
+ _startPosX -= (int)EntityLiner.Step;
+ }
+ return true;
+ //вверх
+ case DirectionType.Up:
+ if (_startPosY.Value - EntityLiner.Step > 0)
+ {
+ _startPosY -= (int)EntityLiner.Step;
+ }
+ return true;
+ // вправо
+ case DirectionType.Right:
+ if (_startPosX.Value + EntityLiner.Step < _pictureWidth-_drawningLinerWidth)
+ {
+ _startPosX += (int)EntityLiner.Step;
+ }
+ return true;
+ //вниз
+ case DirectionType.Down:
+ if (_startPosY.Value + EntityLiner.Step < _pictureHeight-_drawningLinerHeight)
+ {
+ _startPosY += (int)EntityLiner.Step;
+ }
+ return true;
+ default:
+ return false;
+ }
+ }
+
+ ///
+ /// Прорисовка объекта
+ ///
+ ///
+ public void DrawTransport(Graphics g)
+ {
+ if (EntityLiner == null || !_startPosX.HasValue || !_startPosY.HasValue)
+ {
+ return;
+ }
+
+ Pen pen = new(Color.Black);
+ Brush additionalBrush = new SolidBrush(EntityLiner.AdditionalColor);
+ Brush br = new SolidBrush(EntityLiner.BodyColor);
+
+ // якорь
+ if (EntityLiner.Anchor)
+ {
+ g.DrawLine(pen, _startPosX.Value + 45, _startPosY.Value + 85, _startPosX.Value + 45, _startPosY.Value + 115);
+ g.DrawLine(pen, _startPosX.Value + 30, _startPosY.Value + 95, _startPosX.Value + 60, _startPosY.Value + 95);
+ g.DrawLine(pen, _startPosX.Value + 25, _startPosY.Value + 100, _startPosX.Value + 45, _startPosY.Value + 115);
+ g.DrawLine(pen, _startPosX.Value + 45, _startPosY.Value + 115, _startPosX.Value + 65, _startPosY.Value + 100);
+ }
+
+ // кузов лайнера
+ Point point1 = new Point(_startPosX.Value, _startPosY.Value + 80);
+ Point point2 = new Point(_startPosX.Value + 50, _startPosY.Value + 130);
+ Point point3 = new Point(_startPosX.Value + 135, _startPosY.Value + 130);
+ Point point4 = new Point(_startPosX.Value + 185, _startPosY.Value + 80);
+ Point[] curvePoints = { point1, point2, point3, point4 };
+ g.FillPolygon(br, curvePoints);
+
+
+ // борт лайнера
+ Point point5 = new Point(_startPosX.Value+40, _startPosY.Value + 40);
+ Point point6 = new Point(_startPosX.Value + 140, _startPosY.Value + 40);
+ Point point7 = new Point(_startPosX.Value + 140, _startPosY.Value + 80);
+ Point point8 = new Point(_startPosX.Value + 40, _startPosY.Value + 80);
+ Point[] curvePoints2 = { point5, point6, point7, point8 };
+ g.FillPolygon(additionalBrush, curvePoints2);
+
+ // шлюпки
+ if (EntityLiner.Boats)
+ {
+ g.FillEllipse(additionalBrush, _startPosX.Value + 60, _startPosY.Value + 85, 30, 15);
+ g.FillEllipse(additionalBrush, _startPosX.Value + 95, _startPosY.Value + 85, 30, 15);
+ g.FillEllipse(additionalBrush, _startPosX.Value + 130, _startPosY.Value + 85, 30, 15);
+ }
+
+ // труба
+ if (EntityLiner.Pipe)
+ {
+
+ Point point9 = new Point(_startPosX.Value + 90, _startPosY.Value + 10);
+ Point point10 = new Point(_startPosX.Value + 90, _startPosY.Value + 40);
+ Point point11 = new Point(_startPosX.Value + 115, _startPosY.Value + 40);
+ Point point12 = new Point(_startPosX.Value + 115, _startPosY.Value + 10);
+ Point[] curvePoints3 = { point9, point10, point11, point12 };
+ g.FillPolygon(br, curvePoints3);
+ }
+ }
+}
diff --git a/ProjectLiner/ProjectLiner/EntityLiner.cs b/ProjectLiner/ProjectLiner/EntityLiner.cs
new file mode 100644
index 0000000..66d27c1
--- /dev/null
+++ b/ProjectLiner/ProjectLiner/EntityLiner.cs
@@ -0,0 +1,68 @@
+namespace ProjectLiner;
+
+///
+/// Класс-сущность "Лайнер"
+///
+public class EntityLiner
+{
+ ///
+ /// Скорость
+ ///
+ 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 Anchor { get; private set; }
+
+ ///
+ /// Признак (опция) наличия шлюпок
+ ///
+ public bool Boats { get; private set; }
+
+ ///
+ /// Признак (опция) наличия трубы
+ ///
+ public bool Pipe { get; private set; }
+
+ ///
+ /// Шаг перемещения автомобиля
+ ///
+ public double Step => Speed * 100 / Weight;
+
+ ///
+ /// Инициализация полей объекта-класса спортивного автомобиля
+ ///
+ /// Скорость
+ /// Вес автомобиля
+ /// Основной цвет
+ /// Дополнительный цвет
+ /// Признак наличия якоря
+ /// Признак наличия шлюпок
+ /// Признак наличия трубы
+ public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool anchor, bool boats, bool pipe)
+ {
+ Speed = speed;
+ Weight = weight;
+ BodyColor = bodyColor;
+ AdditionalColor = additionalColor;
+ Anchor = anchor;
+ Boats = boats;
+ Pipe = pipe;
+ }
+}
\ No newline at end of file
diff --git a/ProjectLiner/ProjectLiner/Form1.Designer.cs b/ProjectLiner/ProjectLiner/Form1.Designer.cs
deleted file mode 100644
index 054e711..0000000
--- a/ProjectLiner/ProjectLiner/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace ProjectLiner
-{
- 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/ProjectLiner/ProjectLiner/Form1.cs b/ProjectLiner/ProjectLiner/Form1.cs
deleted file mode 100644
index 9b44028..0000000
--- a/ProjectLiner/ProjectLiner/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace ProjectLiner
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
\ No newline at end of file
diff --git a/ProjectLiner/ProjectLiner/FormLiner.Designer.cs b/ProjectLiner/ProjectLiner/FormLiner.Designer.cs
new file mode 100644
index 0000000..e55a740
--- /dev/null
+++ b/ProjectLiner/ProjectLiner/FormLiner.Designer.cs
@@ -0,0 +1,133 @@
+namespace ProjectLiner
+{
+ partial class FormLiner
+ {
+ ///
+ /// 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()
+ {
+ pictureBoxLiner = new PictureBox();
+ buttonCreate = new Button();
+ buttonDown = new Button();
+ buttonUp = new Button();
+ buttonLeft = new Button();
+ buttonRight = new Button();
+ ((System.ComponentModel.ISupportInitialize)pictureBoxLiner).BeginInit();
+ SuspendLayout();
+ //
+ // pictureBoxLiner
+ //
+ pictureBoxLiner.Dock = DockStyle.Fill;
+ pictureBoxLiner.Location = new Point(0, 0);
+ pictureBoxLiner.Name = "pictureBoxLiner";
+ pictureBoxLiner.Size = new Size(948, 614);
+ pictureBoxLiner.TabIndex = 0;
+ pictureBoxLiner.TabStop = false;
+ //
+ // buttonCreate
+ //
+ buttonCreate.Location = new Point(12, 520);
+ buttonCreate.Name = "buttonCreate";
+ buttonCreate.Size = new Size(150, 82);
+ buttonCreate.TabIndex = 1;
+ buttonCreate.Text = "Создать";
+ buttonCreate.UseVisualStyleBackColor = true;
+ buttonCreate.Click += buttonCreate_Click;
+ //
+ // buttonDown
+ //
+ buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonDown.BackgroundImage = Properties.Resources.bottom;
+ buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonDown.Location = new Point(830, 552);
+ buttonDown.Name = "buttonDown";
+ buttonDown.Size = new Size(50, 50);
+ buttonDown.TabIndex = 2;
+ buttonDown.UseVisualStyleBackColor = true;
+ buttonDown.Click += ButtonMove_Click;
+ //
+ // buttonUp
+ //
+ buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonUp.BackgroundImage = Properties.Resources.top;
+ buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonUp.Location = new Point(830, 496);
+ buttonUp.Name = "buttonUp";
+ buttonUp.Size = new Size(50, 50);
+ buttonUp.TabIndex = 3;
+ buttonUp.UseVisualStyleBackColor = true;
+ buttonUp.Click += ButtonMove_Click;
+ //
+ // buttonLeft
+ //
+ buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonLeft.BackgroundImage = Properties.Resources.left;
+ buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonLeft.Location = new Point(774, 552);
+ buttonLeft.Name = "buttonLeft";
+ buttonLeft.Size = new Size(50, 50);
+ buttonLeft.TabIndex = 4;
+ buttonLeft.UseVisualStyleBackColor = true;
+ buttonLeft.Click += ButtonMove_Click;
+ //
+ // buttonRight
+ //
+ buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
+ buttonRight.BackgroundImage = Properties.Resources.right;
+ buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
+ buttonRight.Location = new Point(886, 552);
+ buttonRight.Name = "buttonRight";
+ buttonRight.Size = new Size(50, 50);
+ buttonRight.TabIndex = 5;
+ buttonRight.UseVisualStyleBackColor = true;
+ buttonRight.Click += ButtonMove_Click;
+ //
+ // FormLiner
+ //
+ AutoScaleDimensions = new SizeF(11F, 25F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(948, 614);
+ Controls.Add(buttonRight);
+ Controls.Add(buttonLeft);
+ Controls.Add(buttonUp);
+ Controls.Add(buttonDown);
+ Controls.Add(buttonCreate);
+ Controls.Add(pictureBoxLiner);
+ Name = "FormLiner";
+ Text = "Лайнер";
+ ((System.ComponentModel.ISupportInitialize)pictureBoxLiner).EndInit();
+ ResumeLayout(false);
+ }
+
+ #endregion
+
+ private PictureBox pictureBoxLiner;
+ private Button buttonCreate;
+ private Button buttonDown;
+ private Button buttonUp;
+ private Button buttonLeft;
+ private Button buttonRight;
+ }
+}
\ No newline at end of file
diff --git a/ProjectLiner/ProjectLiner/FormLiner.cs b/ProjectLiner/ProjectLiner/FormLiner.cs
new file mode 100644
index 0000000..e370c8b
--- /dev/null
+++ b/ProjectLiner/ProjectLiner/FormLiner.cs
@@ -0,0 +1,91 @@
+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 ProjectLiner
+{
+ public partial class FormLiner : Form
+ {
+ private DrawningLiner? _drawningLiner;
+ public FormLiner()
+ {
+ InitializeComponent();
+ }
+
+ ///
+ /// Метод прорисовки лайнера
+ ///
+ private void Draw()
+ {
+ if (_drawningLiner == null)
+ {
+ return;
+ }
+
+ Bitmap bmp = new(pictureBoxLiner.Width, pictureBoxLiner.Height);
+ Graphics gr = Graphics.FromImage(bmp);
+ _drawningLiner.DrawTransport(gr);
+ pictureBoxLiner.Image = bmp;
+ }
+
+ ///
+ /// Обработка нажатия кнопки "Создать"
+ ///
+ ///
+ ///
+ private void buttonCreate_Click(object sender, EventArgs e)
+ {
+ Random random = new();
+ _drawningLiner = new DrawningLiner();
+ _drawningLiner.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)));
+ _drawningLiner.SetPictureSize(pictureBoxLiner.Width, pictureBoxLiner.Height);
+ _drawningLiner.SetPosition(random.Next(10, 100), random.Next(10, 100));
+ Draw();
+ }
+
+ ///
+ /// Перемещение объекта по форме (нажатие кнопок навигации)
+ ///
+ ///
+ ///
+ private void ButtonMove_Click(object sender, EventArgs e)
+ {
+ if (_drawningLiner == null)
+ {
+ return;
+ }
+
+ string name = ((Button)sender)?.Name ?? string.Empty;
+ bool result = false;
+ switch (name)
+ {
+ case "buttonUp":
+ result = _drawningLiner.MoveTransport(DirectionType.Up);
+ break;
+ case "buttonDown":
+ result = _drawningLiner.MoveTransport(DirectionType.Down);
+ break;
+ case "buttonLeft":
+ result = _drawningLiner.MoveTransport(DirectionType.Left);
+ break;
+ case "buttonRight":
+ result = _drawningLiner.MoveTransport(DirectionType.Right);
+ break;
+ }
+
+ if (result)
+ {
+ Draw();
+ }
+ }
+ }
+}
diff --git a/ProjectLiner/ProjectLiner/Form1.resx b/ProjectLiner/ProjectLiner/FormLiner.resx
similarity index 93%
rename from ProjectLiner/ProjectLiner/Form1.resx
rename to ProjectLiner/ProjectLiner/FormLiner.resx
index 1af7de1..af32865 100644
--- a/ProjectLiner/ProjectLiner/Form1.resx
+++ b/ProjectLiner/ProjectLiner/FormLiner.resx
@@ -1,17 +1,17 @@
-
diff --git a/ProjectLiner/ProjectLiner/Program.cs b/ProjectLiner/ProjectLiner/Program.cs
index 6a14f7d..b3dc92e 100644
--- a/ProjectLiner/ProjectLiner/Program.cs
+++ b/ProjectLiner/ProjectLiner/Program.cs
@@ -11,7 +11,7 @@ namespace ProjectLiner
// 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 FormLiner());
}
}
}
\ No newline at end of file
diff --git a/ProjectLiner/ProjectLiner/ProjectLiner.csproj b/ProjectLiner/ProjectLiner/ProjectLiner.csproj
index e1a0735..244387d 100644
--- a/ProjectLiner/ProjectLiner/ProjectLiner.csproj
+++ b/ProjectLiner/ProjectLiner/ProjectLiner.csproj
@@ -8,4 +8,19 @@
enable
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
\ No newline at end of file
diff --git a/ProjectLiner/ProjectLiner/Properties/Resources.Designer.cs b/ProjectLiner/ProjectLiner/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..478d0e0
--- /dev/null
+++ b/ProjectLiner/ProjectLiner/Properties/Resources.Designer.cs
@@ -0,0 +1,103 @@
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+namespace ProjectLiner.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("ProjectLiner.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 bottom {
+ get {
+ object obj = ResourceManager.GetObject("bottom", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap left {
+ get {
+ object obj = ResourceManager.GetObject("left", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap right {
+ get {
+ object obj = ResourceManager.GetObject("right", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap top {
+ get {
+ object obj = ResourceManager.GetObject("top", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/ProjectLiner/ProjectLiner/Properties/Resources.resx b/ProjectLiner/ProjectLiner/Properties/Resources.resx
new file mode 100644
index 0000000..b1de66a
--- /dev/null
+++ b/ProjectLiner/ProjectLiner/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\bottom.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\left.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\right.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\top.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
\ No newline at end of file
diff --git a/ProjectLiner/ProjectLiner/Resources/bottom.png b/ProjectLiner/ProjectLiner/Resources/bottom.png
new file mode 100644
index 0000000..504bf06
Binary files /dev/null and b/ProjectLiner/ProjectLiner/Resources/bottom.png differ
diff --git a/ProjectLiner/ProjectLiner/Resources/left.png b/ProjectLiner/ProjectLiner/Resources/left.png
new file mode 100644
index 0000000..2ac2a79
Binary files /dev/null and b/ProjectLiner/ProjectLiner/Resources/left.png differ
diff --git a/ProjectLiner/ProjectLiner/Resources/right.png b/ProjectLiner/ProjectLiner/Resources/right.png
new file mode 100644
index 0000000..f97b115
Binary files /dev/null and b/ProjectLiner/ProjectLiner/Resources/right.png differ
diff --git a/ProjectLiner/ProjectLiner/Resources/top.png b/ProjectLiner/ProjectLiner/Resources/top.png
new file mode 100644
index 0000000..cec057e
Binary files /dev/null and b/ProjectLiner/ProjectLiner/Resources/top.png differ