diff --git a/Liner/Liner/Direction.cs b/Liner/Liner/Direction.cs
new file mode 100644
index 0000000..38ba4ba
--- /dev/null
+++ b/Liner/Liner/Direction.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Liner
+{
+ internal enum Direction
+ {
+ Up = 1,
+ Down = 2,
+ Left = 3,
+ Right = 4,
+ }
+}
diff --git a/Liner/Liner/DrawingShip.cs b/Liner/Liner/DrawingShip.cs
new file mode 100644
index 0000000..36c8ff3
--- /dev/null
+++ b/Liner/Liner/DrawingShip.cs
@@ -0,0 +1,123 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Liner
+{
+ internal class DrawingShip
+ {
+ public EntityShip Ship { get; set; }
+ private float _startPosX;
+ private float _startPosY;
+ private int? _pictureWidth = null;
+ private int? _pictureHeight = null;
+ protected readonly int _ShipWidth = 120;
+ protected readonly int _ShipHeight = 40;
+ public void Init(int speed, float weight, Color bodycolor)
+ {
+ Ship = new EntityShip();
+ Ship.Init(speed, weight, bodycolor);
+ }
+
+ public void SetPosition(int x, int y, int width, int height)
+ {
+ if (width <= _ShipWidth + x || height <= _ShipHeight + y || x<0 || y<0)
+ {
+ _pictureWidth = null;
+ _pictureHeight = null;
+ return;
+ }
+ _startPosX = x;
+ _startPosY = y;
+ _pictureWidth = width;
+ _pictureHeight = height;
+ }
+
+ public void MoveTransport(Direction direction)
+ {
+ if (!_pictureWidth.HasValue || !_pictureHeight.HasValue)
+ {
+ return;
+ }
+ switch (direction)
+ {
+ case Direction.Right:
+ if (_startPosX + _ShipWidth + Ship.Step < _pictureWidth)
+ {
+ _startPosX += Ship.Step;
+
+ }
+ break;
+ case Direction.Left:
+ if (_startPosX - Ship.Step > 0)
+ {
+ _startPosX -= Ship.Step;
+ }
+ break;
+ case Direction.Up:
+ if (_startPosY - Ship.Step > 0)
+ {
+ _startPosY -= Ship.Step;
+ }
+ break;
+ case Direction.Down:
+ if (_startPosY + _ShipHeight + Ship.Step < _pictureHeight)
+ {
+ _startPosY += Ship.Step;
+ }
+ break;
+
+ }
+ }
+
+ public void DrawTransport(Graphics g)
+ {
+ if (_startPosX < 0 || _startPosY < 0 || !_pictureWidth.HasValue || !_pictureHeight.HasValue)
+ {
+ return;
+ }
+ Pen pen = new(Color.Black);
+ Brush br = new SolidBrush(Ship?.BodyColor ?? Color.Black);
+ g.FillRectangle(br, _startPosX + 40, _startPosY, 30 * 2, 10 * 2);
+ g.DrawRectangle(pen, _startPosX + 40, _startPosY, 30 * 2, 10 * 2);
+ Point[] pointsdown = {
+ new Point((int)_startPosX, (int)_startPosY+20),
+ new Point((int)_startPosX + 60 * 2, (int)_startPosY+20),
+ new Point((int)_startPosX+100, (int)_startPosY+20*2),
+ new Point((int)_startPosX + 20, (int)_startPosY + 40),
+ new Point((int)_startPosX, (int)_startPosY+20),
+
+ };
+ g.FillPolygon(br, pointsdown);
+ g.DrawLine(pen, _startPosX, _startPosY+20, _startPosX + 60 * 2, _startPosY+20);
+ g.DrawLine(pen, _startPosX+100, _startPosY+20*2, _startPosX + 120, _startPosY + 10 * 2);
+ g.DrawLine(pen, _startPosX, _startPosY+20, _startPosX + 20, _startPosY + 40);
+ g.DrawLine(pen, _startPosX + 20, _startPosY + 40, _startPosX + 100, _startPosY + 40);
+
+
+ }
+
+ public void ChangeBorders(int width, int height)
+ {
+ _pictureWidth = width;
+ _pictureHeight = height;
+ if (_pictureWidth <= _ShipWidth || _pictureHeight <= _ShipHeight)
+ {
+ _pictureWidth = null;
+ _pictureHeight = null;
+ return;
+ }
+ if (_startPosX + _ShipWidth > _pictureWidth)
+ {
+ _startPosX = _pictureWidth.Value - _ShipWidth;
+ }
+ if (_startPosY + _ShipHeight > _pictureHeight)
+ {
+ _startPosY = _pictureHeight.Value - _ShipHeight;
+ }
+
+ }
+ }
+}
diff --git a/Liner/Liner/EntityShip.cs b/Liner/Liner/EntityShip.cs
new file mode 100644
index 0000000..46613d6
--- /dev/null
+++ b/Liner/Liner/EntityShip.cs
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Liner
+{
+ internal class EntityShip
+ {
+ public int Speed { get; private set; }
+
+ public float Weight { get; private set; }
+
+ public Color BodyColor { get; private set; }
+
+ public float Step => Speed * 100 / Weight;
+
+ public void Init(int speed, float weight, Color bodycolor)
+ {
+ Speed = speed;
+ Weight = weight;
+ BodyColor = bodycolor;
+ }
+ }
+}
diff --git a/Liner/Liner/Form1.Designer.cs b/Liner/Liner/Form1.Designer.cs
deleted file mode 100644
index 1009829..0000000
--- a/Liner/Liner/Form1.Designer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-namespace Liner
-{
- 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/Liner/Liner/Form1.cs b/Liner/Liner/Form1.cs
deleted file mode 100644
index f94743a..0000000
--- a/Liner/Liner/Form1.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace Liner
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
\ No newline at end of file
diff --git a/Liner/Liner/FormShip.Designer.cs b/Liner/Liner/FormShip.Designer.cs
new file mode 100644
index 0000000..d1d72f9
--- /dev/null
+++ b/Liner/Liner/FormShip.Designer.cs
@@ -0,0 +1,181 @@
+namespace Liner
+{
+ partial class FormShip
+ {
+ ///
+ /// 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.pictureBoxShip = new System.Windows.Forms.PictureBox();
+ this.statusStrip = new System.Windows.Forms.StatusStrip();
+ this.toolStripStatusLabelSpeed = new System.Windows.Forms.ToolStripStatusLabel();
+ this.toolStripStatusLabelWeight = new System.Windows.Forms.ToolStripStatusLabel();
+ this.toolStripStatusLabelColor = new System.Windows.Forms.ToolStripStatusLabel();
+ this.buttonCreate = new System.Windows.Forms.Button();
+ this.buttonDown = 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();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBoxShip)).BeginInit();
+ this.statusStrip.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // pictureBoxShip
+ //
+ this.pictureBoxShip.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.pictureBoxShip.Location = new System.Drawing.Point(0, 0);
+ this.pictureBoxShip.Name = "pictureBoxShip";
+ this.pictureBoxShip.Size = new System.Drawing.Size(800, 424);
+ this.pictureBoxShip.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
+ this.pictureBoxShip.TabIndex = 0;
+ this.pictureBoxShip.TabStop = false;
+ this.pictureBoxShip.Resize += new System.EventHandler(this.PictureBoxShip_Resize);
+ //
+ // statusStrip
+ //
+ this.statusStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
+ this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolStripStatusLabelSpeed,
+ this.toolStripStatusLabelWeight,
+ this.toolStripStatusLabelColor});
+ this.statusStrip.Location = new System.Drawing.Point(0, 424);
+ this.statusStrip.Name = "statusStrip";
+ this.statusStrip.Size = new System.Drawing.Size(800, 26);
+ this.statusStrip.TabIndex = 1;
+ this.statusStrip.Text = "statusStrip1";
+ //
+ // toolStripStatusLabelSpeed
+ //
+ this.toolStripStatusLabelSpeed.Name = "toolStripStatusLabelSpeed";
+ this.toolStripStatusLabelSpeed.Size = new System.Drawing.Size(76, 20);
+ this.toolStripStatusLabelSpeed.Text = "Скорость:";
+ //
+ // toolStripStatusLabelWeight
+ //
+ this.toolStripStatusLabelWeight.Name = "toolStripStatusLabelWeight";
+ this.toolStripStatusLabelWeight.Size = new System.Drawing.Size(36, 20);
+ this.toolStripStatusLabelWeight.Text = "Вес:";
+ //
+ // toolStripStatusLabelColor
+ //
+ this.toolStripStatusLabelColor.Name = "toolStripStatusLabelColor";
+ this.toolStripStatusLabelColor.Size = new System.Drawing.Size(45, 20);
+ this.toolStripStatusLabelColor.Text = "Цвет:";
+ //
+ // 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(21, 373);
+ this.buttonCreate.Name = "buttonCreate";
+ this.buttonCreate.Size = new System.Drawing.Size(94, 29);
+ this.buttonCreate.TabIndex = 2;
+ this.buttonCreate.Text = "Создать";
+ this.buttonCreate.UseVisualStyleBackColor = true;
+ this.buttonCreate.Click += new System.EventHandler(this.ButtonCreate_Click);
+ //
+ // buttonDown
+ //
+ this.buttonDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonDown.BackgroundImage = global::Liner.Properties.Resources._2;
+ this.buttonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.buttonDown.Location = new System.Drawing.Point(722, 373);
+ this.buttonDown.Name = "buttonDown";
+ this.buttonDown.Size = new System.Drawing.Size(30, 30);
+ this.buttonDown.TabIndex = 3;
+ this.buttonDown.UseVisualStyleBackColor = true;
+ this.buttonDown.Click += new System.EventHandler(this.ButtonMove_Click);
+ //
+ // buttonUp
+ //
+ this.buttonUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonUp.BackgroundImage = global::Liner.Properties.Resources._4;
+ this.buttonUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.buttonUp.Location = new System.Drawing.Point(722, 337);
+ this.buttonUp.Name = "buttonUp";
+ this.buttonUp.Size = new System.Drawing.Size(30, 30);
+ this.buttonUp.TabIndex = 4;
+ 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::Liner.Properties.Resources._3;
+ this.buttonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.buttonRight.Location = new System.Drawing.Point(758, 372);
+ this.buttonRight.Name = "buttonRight";
+ this.buttonRight.Size = new System.Drawing.Size(30, 30);
+ this.buttonRight.TabIndex = 5;
+ 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::Liner.Properties.Resources._1;
+ this.buttonLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.buttonLeft.Location = new System.Drawing.Point(686, 373);
+ this.buttonLeft.Name = "buttonLeft";
+ this.buttonLeft.Size = new System.Drawing.Size(30, 30);
+ this.buttonLeft.TabIndex = 6;
+ this.buttonLeft.UseVisualStyleBackColor = true;
+ this.buttonLeft.Click += new System.EventHandler(this.ButtonMove_Click);
+ //
+ // FormShip
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(800, 450);
+ this.Controls.Add(this.buttonLeft);
+ this.Controls.Add(this.buttonRight);
+ this.Controls.Add(this.buttonUp);
+ this.Controls.Add(this.buttonDown);
+ this.Controls.Add(this.buttonCreate);
+ this.Controls.Add(this.pictureBoxShip);
+ this.Controls.Add(this.statusStrip);
+ this.Name = "FormShip";
+ this.Text = "Корабль";
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBoxShip)).EndInit();
+ this.statusStrip.ResumeLayout(false);
+ this.statusStrip.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private PictureBox pictureBoxShip;
+ private StatusStrip statusStrip;
+ private ToolStripStatusLabel toolStripStatusLabelSpeed;
+ private ToolStripStatusLabel toolStripStatusLabelWeight;
+ private ToolStripStatusLabel toolStripStatusLabelColor;
+ private Button buttonCreate;
+ private Button buttonDown;
+ private Button buttonUp;
+ private Button buttonRight;
+ private Button buttonLeft;
+ }
+}
\ No newline at end of file
diff --git a/Liner/Liner/FormShip.cs b/Liner/Liner/FormShip.cs
new file mode 100644
index 0000000..4eb0604
--- /dev/null
+++ b/Liner/Liner/FormShip.cs
@@ -0,0 +1,62 @@
+namespace Liner
+{
+
+ public partial class FormShip : Form
+ {
+
+ private DrawingShip _ship;
+
+ public FormShip()
+ {
+ InitializeComponent();
+ }
+
+ private void Draw()
+ {
+ Bitmap bmp = new Bitmap(pictureBoxShip.Width, pictureBoxShip.Height);
+ Graphics gr = Graphics.FromImage(bmp);
+ _ship?.DrawTransport(gr);
+ pictureBoxShip.Image = bmp;
+
+ }
+
+ private void ButtonCreate_Click(object sender, EventArgs e)
+ {
+ Random rnd = new();
+ _ship = new DrawingShip();
+ _ship.Init(rnd.Next(100, 300), rnd.Next(1000, 2000), Color.FromArgb(rnd.Next(0, 256), rnd.Next(0, 256), rnd.Next(0, 256)));
+ _ship.SetPosition(rnd.Next(10, 100), rnd.Next(10, 100), pictureBoxShip.Width, pictureBoxShip.Height);
+ toolStripStatusLabelSpeed.Text = $": {_ship.Ship?.Speed}";
+ toolStripStatusLabelWeight.Text = $": {_ship.Ship?.Weight}";
+ toolStripStatusLabelColor.Text = $": {_ship.Ship?.BodyColor.Name}";
+ Draw();
+ }
+ private void ButtonMove_Click(object sender, EventArgs e)
+ {
+ string name = ((Button)sender)?.Name ?? string.Empty;
+ switch (name)
+ {
+ case "buttonUp":
+ _ship?.MoveTransport(Direction.Up);
+ break;
+ case "buttonDown":
+ _ship?.MoveTransport(Direction.Down);
+ break;
+ case "buttonRight":
+ _ship?.MoveTransport(Direction.Right);
+ break;
+ case "buttonLeft":
+ _ship?.MoveTransport(Direction.Left);
+ break;
+
+ }
+ Draw();
+ }
+
+ private void PictureBoxShip_Resize(object sender, EventArgs e)
+ {
+ _ship?.ChangeBorders(pictureBoxShip.Width, pictureBoxShip.Height);
+ Draw();
+ }
+ }
+}
\ No newline at end of file
diff --git a/Liner/Liner/FormShip.resx b/Liner/Liner/FormShip.resx
new file mode 100644
index 0000000..2c0949d
--- /dev/null
+++ b/Liner/Liner/FormShip.resx
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+ 17, 17
+
+
\ No newline at end of file
diff --git a/Liner/Liner/Liner.csproj b/Liner/Liner/Liner.csproj
index b57c89e..13ee123 100644
--- a/Liner/Liner/Liner.csproj
+++ b/Liner/Liner/Liner.csproj
@@ -8,4 +8,19 @@
enable
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
\ No newline at end of file
diff --git a/Liner/Liner/Program.cs b/Liner/Liner/Program.cs
index 770750a..4cb7185 100644
--- a/Liner/Liner/Program.cs
+++ b/Liner/Liner/Program.cs
@@ -11,7 +11,7 @@ namespace Liner
// 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 FormShip());
}
}
}
\ No newline at end of file
diff --git a/Liner/Liner/Properties/Resources.Designer.cs b/Liner/Liner/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..7b72d9a
--- /dev/null
+++ b/Liner/Liner/Properties/Resources.Designer.cs
@@ -0,0 +1,103 @@
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+namespace Liner.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("Liner.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 _1 {
+ get {
+ object obj = ResourceManager.GetObject("1", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap _2 {
+ get {
+ object obj = ResourceManager.GetObject("2", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap _3 {
+ get {
+ object obj = ResourceManager.GetObject("3", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap _4 {
+ get {
+ object obj = ResourceManager.GetObject("4", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/Liner/Liner/Form1.resx b/Liner/Liner/Properties/Resources.resx
similarity index 84%
rename from Liner/Liner/Form1.resx
rename to Liner/Liner/Properties/Resources.resx
index 1af7de1..9b0272a 100644
--- a/Liner/Liner/Form1.resx
+++ b/Liner/Liner/Properties/Resources.resx
@@ -117,4 +117,17 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ..\Resources\1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\3.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
\ No newline at end of file
diff --git a/Liner/Liner/Resources/1.png b/Liner/Liner/Resources/1.png
new file mode 100644
index 0000000..5ee98c2
Binary files /dev/null and b/Liner/Liner/Resources/1.png differ
diff --git a/Liner/Liner/Resources/2.png b/Liner/Liner/Resources/2.png
new file mode 100644
index 0000000..64e8b11
Binary files /dev/null and b/Liner/Liner/Resources/2.png differ
diff --git a/Liner/Liner/Resources/3.png b/Liner/Liner/Resources/3.png
new file mode 100644
index 0000000..f9300bc
Binary files /dev/null and b/Liner/Liner/Resources/3.png differ
diff --git a/Liner/Liner/Resources/4.png b/Liner/Liner/Resources/4.png
new file mode 100644
index 0000000..34e5175
Binary files /dev/null and b/Liner/Liner/Resources/4.png differ