diff --git a/WarmlyShip/Direction Type.cs b/WarmlyShip/Direction Type.cs new file mode 100644 index 0000000..e337f3b --- /dev/null +++ b/WarmlyShip/Direction Type.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WarmlyShip +{ + //// + /// Направление перемещения + /// + public enum DirectionType + { + /// + /// Вверх + /// + Up = 1, + /// + /// Вниз + /// + Down = 2, + /// + /// Влево + /// + Left = 3, + /// + /// Вправо + /// + Right = 4 + } +} diff --git a/WarmlyShip/DrawningWarmlyShip.cs b/WarmlyShip/DrawningWarmlyShip.cs new file mode 100644 index 0000000..0a483c2 --- /dev/null +++ b/WarmlyShip/DrawningWarmlyShip.cs @@ -0,0 +1,196 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms.Design.Behavior; + +namespace WarmlyShip +{ + /// + /// Класс, отвечающий за прорисовку и перемещение объекта-сущности + /// + internal class DrawningWarmlyShip + { + /// + /// Класс-сущность + /// + public EntityWarmlyShip? EntityWarmlyShip { get; private set; } + /// + /// Ширина окна + /// + private int _pictureWidth; + /// + /// Высота окна + /// + private int _pictureHeight; + /// + /// Левая координата прорисовки корабля + /// + private int _startPosX; + /// + /// Верхняя кооридната прорисовки корабля + /// + private int _startPosY; + /// + /// Ширина прорисовки корабля + /// + private readonly int _shipWidth = 140; + /// + /// Высота прорисовки корабля + /// + private readonly int _shipHeight = 60; + /// + /// Инициализация свойств + /// + /// Скорость + /// Вес + /// Цвет корпуса + /// Дополнительный цвет + /// Признак наличия труб + /// Признак наличия отсека для топлива + /// Ширина картинки + /// Высота картинки + /// true - объект создан, false - проверка не пройдена, нельзя создать объект в этих размерах + public bool Init(int speed, double weight, Color bodyColor, Color additionalColor, bool pipe, bool fuelCompartment, int width, int height) + { + if (width < _shipWidth || height < _shipHeight) + { + return false; + } + _pictureWidth = width; + _pictureHeight = height; + + EntityWarmlyShip = new EntityWarmlyShip(); + EntityWarmlyShip.Init(speed, weight, bodyColor, additionalColor, pipe, fuelCompartment); + return true; + } + /// + /// Установка позиции + /// + /// Координата X + /// Координата Y + public void SetPosition(int x, int y) + { + if (x < 0 || x + _shipWidth > _pictureWidth) + { + x = Math.Max(0, _pictureWidth - _shipWidth); + } + if (y < 0 || y + _shipHeight > _pictureHeight) + { + y = Math.Max(0, _pictureHeight - _shipHeight); + } + _startPosX = x; + _startPosY = y; + } + /// + /// Изменение направления перемещения + /// + /// Направление + public void MoveTransport(DirectionType direction) + { + if (EntityWarmlyShip == null) + { + return; + } + switch (direction) + { + //влево + case DirectionType.Left: + if (_startPosX - EntityWarmlyShip.Step > 0) + { + _startPosX -= (int)EntityWarmlyShip.Step; + } + break; + //вверх + case DirectionType.Up: + if (_startPosY - EntityWarmlyShip.Step > 0) + { + _startPosY -= (int)EntityWarmlyShip.Step; + } + break; + // вправо + case DirectionType.Right: + if (_startPosX + _shipWidth + EntityWarmlyShip.Step < _pictureWidth) + { + _startPosX += (int)EntityWarmlyShip.Step; + } + break; + //вниз + case DirectionType.Down: + if (_startPosY + _shipHeight + EntityWarmlyShip.Step < _pictureHeight) + { + _startPosY += (int)EntityWarmlyShip.Step; + } + break; + } + } + /// + /// Прорисовка объекта + /// + /// + public void DrawTransport(Graphics g) + { + if (EntityWarmlyShip == null) + { + return; + } + Pen pen = new(Color.Black); + Brush BodyBrush = new SolidBrush(EntityWarmlyShip.BodyColor); + Brush additionalBrush = new SolidBrush(EntityWarmlyShip.AdditionalColor); + // корпус + Point point1 = new Point(_startPosX, _startPosY + 30); + Point point2 = new Point(_startPosX + 140, _startPosY + 30); + Point point3 = new Point(_startPosX + 120, _startPosY + 60); + Point point4 = new Point(_startPosX + 20, _startPosY + 60); + Point[] curvePoints = { point1, point2, point3, point4 }; + g.FillPolygon(BodyBrush, curvePoints); + g.DrawPolygon(pen, curvePoints); + // палуба + Brush brBeige = new SolidBrush(Color.Beige); + g.FillRectangle(brBeige, _startPosX + 10, _startPosY + 20, 110, 10); + g.DrawRectangle(pen, _startPosX + 10, _startPosY + 20, 110, 10); + // якорь + Point point_1 = new Point(_startPosX + 130, _startPosY + 40); + Point point_2 = new Point(_startPosX + 130, _startPosY + 33); + g.DrawLine(pen, point_1, point_2); + Point point_3 = new Point(_startPosX + 130, _startPosY + 40); + Point point_4 = new Point(_startPosX + 127, _startPosY + 37); + g.DrawLine(pen, point_3, point_4); + Point point_5 = new Point(_startPosX + 130, _startPosY + 40); + Point point_6 = new Point(_startPosX + 133, _startPosY + 37); + g.DrawLine(pen, point_5, point_6); + Point point_7 = new Point(_startPosX + 129, _startPosY + 35); + Point point_8 = new Point(_startPosX + 131, _startPosY + 35); + g.DrawLine(pen, point_7, point_8); + if (EntityWarmlyShip.Pipe) + { + //трубы + g.FillRectangle(additionalBrush, _startPosX + 20, _startPosY + 5, 10, 15); + g.DrawRectangle(pen, _startPosX + 20, _startPosY + 5, 10, 15); + g.FillRectangle(additionalBrush, _startPosX + 60, _startPosY + 5, 10, 15); + g.DrawRectangle(pen, _startPosX + 60, _startPosY + 5, 10, 15); + g.FillRectangle(additionalBrush, _startPosX + 100, _startPosY + 5, 10, 15); + g.DrawRectangle(pen, _startPosX + 100, _startPosY + 5, 10, 15); + + Brush brBlack = new SolidBrush(Color.Black); + g.FillRectangle(brBlack, _startPosX + 20, _startPosY, 10, 5); + g.DrawRectangle(pen, _startPosX + 20, _startPosY, 10, 5); + g.FillRectangle(brBlack, _startPosX + 60, _startPosY, 10, 5); + g.DrawRectangle(pen, _startPosX + 60, _startPosY, 10, 5); + g.FillRectangle(brBlack, _startPosX + 100, _startPosY, 10, 5); + g.DrawRectangle(pen, _startPosX + 100, _startPosY, 10, 5); + } + if (EntityWarmlyShip.FuelCompartment) + { + // отсек под топливо + g.FillRectangle(additionalBrush, _startPosX + 30, _startPosY + 45, 20, 15); + g.DrawRectangle(pen, _startPosX + 30, _startPosY + 45, 20, 15); + g.FillRectangle(additionalBrush, _startPosX + 50, _startPosY + 45, 20, 15); + g.DrawRectangle(pen, _startPosX + 50, _startPosY + 45, 20, 15); + g.FillRectangle(additionalBrush, _startPosX + 70, _startPosY + 45, 20, 15); + g.DrawRectangle(pen, _startPosX + 70, _startPosY + 45, 20, 15); + } + } + } +} diff --git a/WarmlyShip/EntityWarmlyShip.cs b/WarmlyShip/EntityWarmlyShip.cs new file mode 100644 index 0000000..9330e5a --- /dev/null +++ b/WarmlyShip/EntityWarmlyShip.cs @@ -0,0 +1,61 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WarmlyShip +{ + internal class EntityWarmlyShip + { + /// + /// Скорость + /// + 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 Pipe { get; private set; } + /// + /// Признак (опция) наличия отсека под топливо + /// + public bool FuelCompartment { get; private set; } + + /// + /// Шаг перемещения теплохода + /// + public double Step => (double)Speed * 100 / Weight; + /// + /// Инициализация полей объекта-класса теплохода + /// + /// Скорость + /// Вес теплохода + /// Основной цвет + /// Дополнительный цвет + /// Признак наличия труб + /// Признак наличия отсека под топливо + public void Init(int speed, double weight, Color bodyColor, Color + additionalColor, bool pipe, bool fuelCompartment) + { + Speed = speed; + Weight = weight; + BodyColor = bodyColor; + AdditionalColor = additionalColor; + Pipe = pipe; + FuelCompartment = fuelCompartment; + } + } +} + diff --git a/WarmlyShip/Form1.Designer.cs b/WarmlyShip/Form1.Designer.cs deleted file mode 100644 index 3873b6f..0000000 --- a/WarmlyShip/Form1.Designer.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace WarmlyShip -{ - 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/WarmlyShip/Form1.cs b/WarmlyShip/Form1.cs deleted file mode 100644 index bca3f86..0000000 --- a/WarmlyShip/Form1.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace WarmlyShip -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - } -} \ No newline at end of file diff --git a/WarmlyShip/FormWarmlyShip.Designer.cs b/WarmlyShip/FormWarmlyShip.Designer.cs new file mode 100644 index 0000000..21be522 --- /dev/null +++ b/WarmlyShip/FormWarmlyShip.Designer.cs @@ -0,0 +1,138 @@ +namespace WarmlyShip +{ + partial class FormWarmlyShip + { + /// + /// 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() + { + pictureBoxWarmlyShip = new PictureBox(); + buttonCreate = new Button(); + buttonLeft = new Button(); + buttonRight = new Button(); + buttonUp = new Button(); + buttonDown = new Button(); + ((System.ComponentModel.ISupportInitialize)pictureBoxWarmlyShip).BeginInit(); + SuspendLayout(); + // + // pictureBoxWarmlyShip + // + pictureBoxWarmlyShip.Dock = DockStyle.Fill; + pictureBoxWarmlyShip.Location = new Point(0, 0); + pictureBoxWarmlyShip.Name = "pictureBoxWarmlyShip"; + pictureBoxWarmlyShip.Size = new Size(884, 461); + pictureBoxWarmlyShip.SizeMode = PictureBoxSizeMode.AutoSize; + pictureBoxWarmlyShip.TabIndex = 0; + pictureBoxWarmlyShip.TabStop = false; + // + // buttonCreate + // + buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; + buttonCreate.Location = new Point(12, 426); + buttonCreate.Name = "buttonCreate"; + buttonCreate.Size = new Size(75, 23); + buttonCreate.TabIndex = 1; + buttonCreate.Text = "Создать"; + buttonCreate.UseVisualStyleBackColor = true; + buttonCreate.Click += ButtonCreate_Click; + // + // buttonLeft + // + buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonLeft.BackgroundImage = Properties.Resources.влево; + buttonLeft.BackgroundImageLayout = ImageLayout.Zoom; + buttonLeft.Location = new Point(770, 419); + buttonLeft.Name = "buttonLeft"; + buttonLeft.Size = new Size(30, 30); + buttonLeft.TabIndex = 2; + buttonLeft.UseVisualStyleBackColor = true; + buttonLeft.Click += ButtonMove_Click; + // + // buttonRight + // + buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonRight.BackgroundImage = Properties.Resources.вправо; + buttonRight.BackgroundImageLayout = ImageLayout.Zoom; + buttonRight.Location = new Point(842, 419); + buttonRight.Name = "buttonRight"; + buttonRight.Size = new Size(30, 30); + buttonRight.TabIndex = 3; + buttonRight.UseVisualStyleBackColor = true; + buttonRight.Click += ButtonMove_Click; + // + // buttonUp + // + buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonUp.BackgroundImage = Properties.Resources.вверх; + buttonUp.BackgroundImageLayout = ImageLayout.Zoom; + buttonUp.Location = new Point(806, 383); + buttonUp.Name = "buttonUp"; + buttonUp.Size = new Size(30, 30); + buttonUp.TabIndex = 4; + buttonUp.UseVisualStyleBackColor = true; + buttonUp.Click += ButtonMove_Click; + // + // buttonDown + // + buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonDown.BackgroundImage = Properties.Resources.вниз; + buttonDown.BackgroundImageLayout = ImageLayout.Zoom; + buttonDown.Location = new Point(806, 419); + buttonDown.Name = "buttonDown"; + buttonDown.Size = new Size(30, 30); + buttonDown.TabIndex = 5; + buttonDown.UseVisualStyleBackColor = true; + buttonDown.Click += ButtonMove_Click; + // + // FormWarmlyShip + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(884, 461); + Controls.Add(buttonDown); + Controls.Add(buttonUp); + Controls.Add(buttonRight); + Controls.Add(buttonLeft); + Controls.Add(buttonCreate); + Controls.Add(pictureBoxWarmlyShip); + Name = "FormWarmlyShip"; + StartPosition = FormStartPosition.CenterScreen; + Text = "Теплоход"; + Click += ButtonMove_Click; + ((System.ComponentModel.ISupportInitialize)pictureBoxWarmlyShip).EndInit(); + ResumeLayout(false); + PerformLayout(); + } + + #endregion + + private PictureBox pictureBoxWarmlyShip; + private Button buttonCreate; + private Button buttonLeft; + private Button buttonRight; + private Button buttonUp; + private Button buttonDown; + } +} \ No newline at end of file diff --git a/WarmlyShip/FormWarmlyShip.cs b/WarmlyShip/FormWarmlyShip.cs new file mode 100644 index 0000000..7c9e35f --- /dev/null +++ b/WarmlyShip/FormWarmlyShip.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 WarmlyShip +{ + /// + /// Форма работы с объектом "Теплоход" + /// + public partial class FormWarmlyShip : Form + { + /// + /// Поле-объект для прорисовки объекта + /// + private DrawningWarmlyShip? _drawningWarmlyShip; + /// + /// Инициализация формы + /// + public FormWarmlyShip() + { + InitializeComponent(); + } + /// + /// Метод прорисовки теплохода + /// + private void Draw() + { + if (_drawningWarmlyShip == null) + { + return; + } + Bitmap bmp = new(pictureBoxWarmlyShip.Width, pictureBoxWarmlyShip.Height); + Graphics gr = Graphics.FromImage(bmp); + _drawningWarmlyShip.DrawTransport(gr); + pictureBoxWarmlyShip.Image = bmp; + } + /// + /// Обработка нажатия кнопки "Создать" + /// + /// + /// + private void ButtonCreate_Click(object sender, EventArgs e) + { + Random random = new(); + _drawningWarmlyShip = new DrawningWarmlyShip(); + _drawningWarmlyShip.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)), + pictureBoxWarmlyShip.Width, pictureBoxWarmlyShip.Height); + _drawningWarmlyShip.SetPosition(random.Next(10, 100), random.Next(10, 100)); + Draw(); + } + /// + /// Изменение размеров формы + /// + /// + /// + private void ButtonMove_Click(object sender, EventArgs e) + { + if (_drawningWarmlyShip == null) + { + return; + } + string name = ((Button)sender)?.Name ?? string.Empty; + switch (name) + { + case "buttonUp": + _drawningWarmlyShip.MoveTransport(DirectionType.Up); + break; + case "buttonDown": + _drawningWarmlyShip.MoveTransport(DirectionType.Down); + break; + case "buttonLeft": + _drawningWarmlyShip.MoveTransport(DirectionType.Left); + break; + case "buttonRight": + _drawningWarmlyShip.MoveTransport(DirectionType.Right); + break; + } + Draw(); + } + } +} \ No newline at end of file diff --git a/WarmlyShip/Form1.resx b/WarmlyShip/FormWarmlyShip.resx similarity index 93% rename from WarmlyShip/Form1.resx rename to WarmlyShip/FormWarmlyShip.resx index 1af7de1..af32865 100644 --- a/WarmlyShip/Form1.resx +++ b/WarmlyShip/FormWarmlyShip.resx @@ -1,17 +1,17 @@  - diff --git a/WarmlyShip/Program.cs b/WarmlyShip/Program.cs index 341c406..71da933 100644 --- a/WarmlyShip/Program.cs +++ b/WarmlyShip/Program.cs @@ -11,7 +11,7 @@ namespace WarmlyShip // 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 FormWarmlyShip()); } } } \ No newline at end of file diff --git a/WarmlyShip/Properties/Resources.Designer.cs b/WarmlyShip/Properties/Resources.Designer.cs new file mode 100644 index 0000000..44f2804 --- /dev/null +++ b/WarmlyShip/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace WarmlyShip.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("WarmlyShip.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 вверх { + get { + object obj = ResourceManager.GetObject("вверх", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap влево { + get { + object obj = ResourceManager.GetObject("влево", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap вниз { + get { + object obj = ResourceManager.GetObject("вниз", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap вправо { + get { + object obj = ResourceManager.GetObject("вправо", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/WarmlyShip/Properties/Resources.resx b/WarmlyShip/Properties/Resources.resx new file mode 100644 index 0000000..2bc00c7 --- /dev/null +++ b/WarmlyShip/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\вверх.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\влево.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\вниз.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\вправо.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/WarmlyShip/Resources/вверх.png b/WarmlyShip/Resources/вверх.png new file mode 100644 index 0000000..cf755d8 Binary files /dev/null and b/WarmlyShip/Resources/вверх.png differ diff --git a/WarmlyShip/Resources/влево.png b/WarmlyShip/Resources/влево.png new file mode 100644 index 0000000..48a1cfa Binary files /dev/null and b/WarmlyShip/Resources/влево.png differ diff --git a/WarmlyShip/Resources/вниз.png b/WarmlyShip/Resources/вниз.png new file mode 100644 index 0000000..85b0f19 Binary files /dev/null and b/WarmlyShip/Resources/вниз.png differ diff --git a/WarmlyShip/Resources/вправо.png b/WarmlyShip/Resources/вправо.png new file mode 100644 index 0000000..6740067 Binary files /dev/null and b/WarmlyShip/Resources/вправо.png differ diff --git a/WarmlyShip/WarmlyShip.csproj b/WarmlyShip/WarmlyShip.csproj index b57c89e..7f516ba 100644 --- a/WarmlyShip/WarmlyShip.csproj +++ b/WarmlyShip/WarmlyShip.csproj @@ -8,4 +8,8 @@ enable + + + + \ No newline at end of file