diff --git a/Lab1/Lab1/DirectionType.cs b/Lab1/Lab1/DirectionType.cs new file mode 100644 index 0000000..ab0a2e7 --- /dev/null +++ b/Lab1/Lab1/DirectionType.cs @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +/// +/// Направление перемещения +/// +namespace Lab1; + +public enum DirectionType +{ + /// + /// Вверх + /// + Up = 1, + + /// + /// Вниз + /// + Down = 2, + + /// + /// Влево + /// + Left = 3, + + /// + /// Вправо + /// + Right = 4 +} + diff --git a/Lab1/Lab1/DrawningYborshik.cs b/Lab1/Lab1/DrawningYborshik.cs new file mode 100644 index 0000000..437075d --- /dev/null +++ b/Lab1/Lab1/DrawningYborshik.cs @@ -0,0 +1,204 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Lab1; + +/// +/// Класс, отвечающий за прорисовку и перемещение объекта-сущности +/// +public class DrawningYborshik +{ + /// + /// Класс-сущность + /// + public EntityYborshik? EntityYborshik { get; private set; } + + /// + /// Ширина окна + /// + private int? _pictureWidth; + + /// + /// Высота окна + /// + private int? _pictureHeight; + + /// + /// Левая координата прорисовки автомобиля + /// + private int? _startPosX; + + /// + /// Верхняя кооридната прорисовки автомобиля + /// + private int? _startPosY; + + /// + /// Ширина прорисовки автомобиля + /// + private readonly int _drawningCarWidth = 140; + + /// + /// Высота прорисовки автомобиля + /// + private readonly int _drawningCarHeight = 70; + + /// + /// Инициализация полей объекта-класса спортивного автомобиля + /// + /// Скорость + /// Вес автомобиля + /// Основной цвет + /// Дополнительный цвет + /// Признак наличия мигалок + /// Признак наличия ковша + + public void Init(int speed, int weight, Color bodyColor, Color additionalColor, bool flashingLights, bool ladle) + { + EntityYborshik = new EntityYborshik(); + EntityYborshik.Init(speed, weight, bodyColor, additionalColor, flashingLights, ladle); + _pictureWidth = null; + _pictureHeight = null; + _startPosX = null; + _startPosY = null; + } + + /// + /// Установка границ поля + /// + /// Ширина поля + /// Высота поля + /// true - границы заданы, false - проверка не пройдена, нельзя разместить объект в этих размерах + public bool SetPictureSize(int width, int height) + { + // TODO проверка, что объект "влезает" в размеры поля + // если влезает, сохраняем границы и корректируем позицию объекта, если она была уже установлена + if (_drawningCarWidth < width || _drawningCarHeight < height) + { + _pictureWidth = width; + _pictureHeight = height; + return true; + } + else + return false; + } + + /// + /// Установка позиции + /// + /// Координата X + /// Координата Y + public void SetPosition(int x, int y) + { + if (!_pictureHeight.HasValue || !_pictureWidth.HasValue) + { + return; + } + // TODO если при установке объекта в эти координаты, он будет "выходить" за границы формы + // то надо изменить координаты, чтобы он оставался в этих границах + if (x > 0 && y > 0 && _drawningCarWidth < _pictureWidth && _drawningCarHeight < _pictureHeight) + { + _startPosX = x; + _startPosY = y; + } + else { + Random rnd = new Random(); + _startPosX = rnd.Next(0, _pictureWidth.Value - _drawningCarWidth); + _startPosY = rnd.Next(0, _pictureHeight.Value - _drawningCarHeight); + + } + } + /// + /// Изменение направления перемещения + /// + /// Направление + /// true - перемещене выполнено, false - перемещение невозможно + public bool MoveTransport(DirectionType direction) + { + if (EntityYborshik == null || !_startPosX.HasValue || !_startPosY.HasValue) + { + return false; + } + + switch (direction) + { + //влево + case DirectionType.Left: + if (_startPosX.Value - EntityYborshik.Step > 0) + { + _startPosX -= (int)EntityYborshik.Step; + } + return true; + //вверх + case DirectionType.Up: + if (_startPosY.Value - EntityYborshik.Step > 0) + { + _startPosY -= (int)EntityYborshik.Step; + } + return true; + // вправо + case DirectionType.Right: + //TODO прописать логику сдвига в право + if (_startPosX.Value + EntityYborshik.Step < _pictureWidth - _drawningCarWidth) + { + _startPosX += (int)EntityYborshik.Step; + } + return true; + //вниз + case DirectionType.Down: + //TODO прописать логику сдвига в вниз + if (_startPosY.Value + EntityYborshik.Step < _pictureHeight - _drawningCarHeight) + { + _startPosY += (int)EntityYborshik.Step; + } + return true; + default: + return false; + } + } + + /// + /// Прорисовка объекта + /// + /// + public void DrawTransport(Graphics g) + { + if (EntityYborshik == null || !_startPosX.HasValue || !_startPosY.HasValue) + { + return; + } + + + Brush additionalBrush = new SolidBrush(EntityYborshik.AdditionalColor); + Pen additionalPen = new(EntityYborshik.AdditionalColor); + // баки + if (EntityYborshik.Ladle) + { + g.FillEllipse(additionalBrush, _startPosX.Value + 10, _startPosY.Value, 105, 32); + } + // щетка + if (EntityYborshik.FlashingLights) + { + g.DrawLine(additionalPen, _startPosX.Value + 80, _startPosY.Value + 50, _startPosX.Value + 80, _startPosY.Value + 75); + g.DrawLine(additionalPen, _startPosX.Value + 80, _startPosY.Value + 50, _startPosX.Value + 90, _startPosY.Value + 75); + g.DrawLine(additionalPen, _startPosX.Value + 80, _startPosY.Value + 50, _startPosX.Value + 100, _startPosY.Value + 75); + g.DrawLine(additionalPen, _startPosX.Value + 80, _startPosY.Value + 50, _startPosX.Value + 110, _startPosY.Value + 75); + g.DrawLine(additionalPen, _startPosX.Value + 80, _startPosY.Value + 50, _startPosX.Value + 120, _startPosY.Value + 75); + } + Brush br = new SolidBrush(EntityYborshik.BodyColor); + + //кузов уборщика + g.FillRectangle(br, _startPosX.Value + 10, _startPosY.Value + 30, 140, 20); + g.FillRectangle(br, _startPosX.Value + 115, _startPosY.Value, 35, 30); + //колеса уборщика + g.FillEllipse(br, _startPosX.Value + 15, _startPosY.Value + 50, 25, 25); + g.FillEllipse(br, _startPosX.Value + 120, _startPosY.Value + 50, 25, 25); + g.FillEllipse(br, _startPosX.Value + 50, _startPosY.Value + 50, 25, 25); + + } +} + + diff --git a/Lab1/Lab1/EntityYborshik.cs b/Lab1/Lab1/EntityYborshik.cs new file mode 100644 index 0000000..54001f1 --- /dev/null +++ b/Lab1/Lab1/EntityYborshik.cs @@ -0,0 +1,66 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Lab1; + +public class EntityYborshik +{ + /// + /// Скорость + /// + 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 FlashingLights { get; private set; } + + /// + /// Признак (опция) наличия бака под воду + /// + public bool Ladle { get; private set; } + + /// + /// Шаг перемещения уборочной машины + /// + public double Step => Speed * 100 / Weight; + + /// + /// Инициализация полей объекта-класса спортивного автомобиля + /// + /// Скорость + /// Вес автомобиля + /// Основной цвет + /// Дополнительный цвет + /// Признак наличия мигалок + /// Признак наличия ковша + public void Init(int speed, int weight, Color bodyColor, Color additionalColor, bool flashingLights, bool ladle) + { + Speed = speed; + Weight = weight; + BodyColor = bodyColor; + AdditionalColor = additionalColor; + FlashingLights = flashingLights; + Ladle = ladle; + } +} + diff --git a/Lab1/Lab1/Form1.Designer.cs b/Lab1/Lab1/Form1.Designer.cs deleted file mode 100644 index 1cc1f8c..0000000 --- a/Lab1/Lab1/Form1.Designer.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace Lab1 -{ - 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/Lab1/Lab1/Form1.cs b/Lab1/Lab1/Form1.cs deleted file mode 100644 index 7bd6eed..0000000 --- a/Lab1/Lab1/Form1.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Lab1 -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - } -} \ No newline at end of file diff --git a/Lab1/Lab1/FormYborshik.Designer.cs b/Lab1/Lab1/FormYborshik.Designer.cs new file mode 100644 index 0000000..5ec048e --- /dev/null +++ b/Lab1/Lab1/FormYborshik.Designer.cs @@ -0,0 +1,134 @@ +namespace Lab1 +{ + partial class FormYborshik + { + /// + /// 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() + { + buttonCreate = new Button(); + buttonLeft = new Button(); + buttonUp = new Button(); + buttonRight = new Button(); + buttonDown = new Button(); + pictureBoxYborshik = new PictureBox(); + ((System.ComponentModel.ISupportInitialize)pictureBoxYborshik).BeginInit(); + SuspendLayout(); + // + // buttonCreate + // + buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; + buttonCreate.Location = new Point(2, 428); + buttonCreate.Name = "buttonCreate"; + buttonCreate.Size = new Size(94, 29); + buttonCreate.TabIndex = 0; + buttonCreate.Text = "Создать"; + buttonCreate.UseVisualStyleBackColor = true; + buttonCreate.Click += buttonCreate_Click; + // + // buttonLeft + // + buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonLeft.BackgroundImage = Properties.Resources.Strelkaleft; + buttonLeft.BackgroundImageLayout = ImageLayout.Stretch; + buttonLeft.Location = new Point(752, 422); + buttonLeft.Name = "buttonLeft"; + buttonLeft.Size = new Size(35, 35); + buttonLeft.TabIndex = 1; + buttonLeft.UseVisualStyleBackColor = true; + buttonLeft.Click += buttonMove_Click; + // + // buttonUp + // + buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonUp.BackgroundImage = Properties.Resources.Strelkaup; + buttonUp.BackgroundImageLayout = ImageLayout.Stretch; + buttonUp.Location = new Point(784, 392); + buttonUp.Name = "buttonUp"; + buttonUp.Size = new Size(35, 35); + buttonUp.TabIndex = 2; + buttonUp.UseVisualStyleBackColor = true; + buttonUp.Click += buttonMove_Click; + // + // buttonRight + // + buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonRight.BackgroundImage = Properties.Resources.Strelkaright; + buttonRight.BackgroundImageLayout = ImageLayout.Stretch; + buttonRight.Location = new Point(815, 422); + buttonRight.Name = "buttonRight"; + buttonRight.Size = new Size(35, 35); + buttonRight.TabIndex = 3; + buttonRight.UseVisualStyleBackColor = true; + buttonRight.Click += buttonMove_Click; + // + // buttonDown + // + buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonDown.BackgroundImage = Properties.Resources.Strelkadown; + buttonDown.BackgroundImageLayout = ImageLayout.Stretch; + buttonDown.Location = new Point(784, 422); + buttonDown.Name = "buttonDown"; + buttonDown.Size = new Size(35, 35); + buttonDown.TabIndex = 4; + buttonDown.UseVisualStyleBackColor = true; + buttonDown.Click += buttonMove_Click; + // + // pictureBoxYborshik + // + pictureBoxYborshik.Dock = DockStyle.Fill; + pictureBoxYborshik.Location = new Point(0, 0); + pictureBoxYborshik.Name = "pictureBoxYborshik"; + pictureBoxYborshik.Size = new Size(851, 456); + pictureBoxYborshik.TabIndex = 5; + pictureBoxYborshik.TabStop = false; + // + // FormYborshik + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(851, 456); + Controls.Add(buttonDown); + Controls.Add(buttonRight); + Controls.Add(buttonUp); + Controls.Add(buttonLeft); + Controls.Add(buttonCreate); + Controls.Add(pictureBoxYborshik); + Name = "FormYborshik"; + Text = "FormYborshik"; + ((System.ComponentModel.ISupportInitialize)pictureBoxYborshik).EndInit(); + ResumeLayout(false); + } + + #endregion + + private Button buttonCreate; + private Button buttonLeft; + private Button buttonUp; + private Button buttonRight; + private Button buttonDown; + private PictureBox pictureBoxYborshik; + } +} \ No newline at end of file diff --git a/Lab1/Lab1/FormYborshik.cs b/Lab1/Lab1/FormYborshik.cs new file mode 100644 index 0000000..78c0c1f --- /dev/null +++ b/Lab1/Lab1/FormYborshik.cs @@ -0,0 +1,93 @@ +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 Lab1 +{ + /// + /// Форма работы с объектом "Спортивный автомобиль" + /// + public partial class FormYborshik : Form + { + /// + /// Поле-объект для прорисовки объекта + /// + private DrawningYborshik? _drawningYborshik; + + /// + /// Конструктор формы + /// + public FormYborshik() + { + InitializeComponent(); + } + + private void Draw() + { + if (_drawningYborshik == null) + { + return; + } + + Bitmap bmp = new(pictureBoxYborshik.Width, pictureBoxYborshik.Height); + Graphics gr = Graphics.FromImage(bmp); + _drawningYborshik.DrawTransport(gr); + pictureBoxYborshik.Image = bmp; + } + + /// + /// Обработка нажатия кнопки "Создать" + /// + /// + /// + + private void buttonCreate_Click(object sender, EventArgs e) + { + Random random = new(); + _drawningYborshik = new DrawningYborshik(); + _drawningYborshik.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))); + _drawningYborshik.SetPictureSize(pictureBoxYborshik.Width, pictureBoxYborshik.Height); + _drawningYborshik.SetPosition(random.Next(10, 100), random.Next(10, 100)); + Draw(); + } + private void buttonMove_Click(object sender, EventArgs e) + { + if (_drawningYborshik == null) + { + return; + } + + string name = ((Button)sender)?.Name ?? string.Empty; + bool result = false; + switch (name) + { + case "buttonUp": + result = _drawningYborshik.MoveTransport(DirectionType.Up); + break; + case "buttonDown": + result = _drawningYborshik.MoveTransport(DirectionType.Down); + break; + case "buttonLeft": + result = _drawningYborshik.MoveTransport(DirectionType.Left); + break; + case "buttonRight": + result = _drawningYborshik.MoveTransport(DirectionType.Right); + break; + } + + if (result) + { + Draw(); + } + } + } +} diff --git a/Lab1/Lab1/Form1.resx b/Lab1/Lab1/FormYborshik.resx similarity index 93% rename from Lab1/Lab1/Form1.resx rename to Lab1/Lab1/FormYborshik.resx index 1af7de1..af32865 100644 --- a/Lab1/Lab1/Form1.resx +++ b/Lab1/Lab1/FormYborshik.resx @@ -1,17 +1,17 @@  - diff --git a/Lab1/Lab1/Program.cs b/Lab1/Lab1/Program.cs index 45c9ca1..7aa099a 100644 --- a/Lab1/Lab1/Program.cs +++ b/Lab1/Lab1/Program.cs @@ -11,7 +11,7 @@ namespace Lab1 // 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 FormYborshik()); } } } \ No newline at end of file diff --git a/Lab1/Lab1/Properties/Resources.Designer.cs b/Lab1/Lab1/Properties/Resources.Designer.cs new file mode 100644 index 0000000..58c313c --- /dev/null +++ b/Lab1/Lab1/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace Lab1.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("Lab1.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 Strelkadown { + get { + object obj = ResourceManager.GetObject("Strelkadown", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Strelkaleft { + get { + object obj = ResourceManager.GetObject("Strelkaleft", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Strelkaright { + get { + object obj = ResourceManager.GetObject("Strelkaright", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Strelkaup { + get { + object obj = ResourceManager.GetObject("Strelkaup", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Lab1/Lab1/Properties/Resources.resx b/Lab1/Lab1/Properties/Resources.resx new file mode 100644 index 0000000..6005833 --- /dev/null +++ b/Lab1/Lab1/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\Strelkadown.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Strelkaleft.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Strelkaright.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Strelkaup.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Lab1/Lab1/Resources/Strelkadown.jpg b/Lab1/Lab1/Resources/Strelkadown.jpg new file mode 100644 index 0000000..e63d166 Binary files /dev/null and b/Lab1/Lab1/Resources/Strelkadown.jpg differ diff --git a/Lab1/Lab1/Resources/Strelkaleft.jpg b/Lab1/Lab1/Resources/Strelkaleft.jpg new file mode 100644 index 0000000..4a5c5a2 Binary files /dev/null and b/Lab1/Lab1/Resources/Strelkaleft.jpg differ diff --git a/Lab1/Lab1/Resources/Strelkaright.jpg b/Lab1/Lab1/Resources/Strelkaright.jpg new file mode 100644 index 0000000..3668859 Binary files /dev/null and b/Lab1/Lab1/Resources/Strelkaright.jpg differ diff --git a/Lab1/Lab1/Resources/Strelkaup.jpg b/Lab1/Lab1/Resources/Strelkaup.jpg new file mode 100644 index 0000000..4d69fb1 Binary files /dev/null and b/Lab1/Lab1/Resources/Strelkaup.jpg differ