diff --git a/MotorShip/.vs/MotorShip/DesignTimeBuild/.dtbcache.v2 b/MotorShip/.vs/MotorShip/DesignTimeBuild/.dtbcache.v2 index 3070f68..d9b7247 100644 Binary files a/MotorShip/.vs/MotorShip/DesignTimeBuild/.dtbcache.v2 and b/MotorShip/.vs/MotorShip/DesignTimeBuild/.dtbcache.v2 differ diff --git a/MotorShip/.vs/MotorShip/FileContentIndex/16908604-dad0-4906-b8de-e78f0acacc2f.vsidx b/MotorShip/.vs/MotorShip/FileContentIndex/1b1431b3-6ab1-41b2-a8db-6e681c6e678a.vsidx similarity index 54% rename from MotorShip/.vs/MotorShip/FileContentIndex/16908604-dad0-4906-b8de-e78f0acacc2f.vsidx rename to MotorShip/.vs/MotorShip/FileContentIndex/1b1431b3-6ab1-41b2-a8db-6e681c6e678a.vsidx index 15f285c..6c19386 100644 Binary files a/MotorShip/.vs/MotorShip/FileContentIndex/16908604-dad0-4906-b8de-e78f0acacc2f.vsidx and b/MotorShip/.vs/MotorShip/FileContentIndex/1b1431b3-6ab1-41b2-a8db-6e681c6e678a.vsidx differ diff --git a/MotorShip/.vs/MotorShip/FileContentIndex/b3e1d8bb-dfd0-472d-b83c-00ea30e237e2.vsidx b/MotorShip/.vs/MotorShip/FileContentIndex/9779d555-e94b-4e77-9c96-3b6faa4834f0.vsidx similarity index 74% rename from MotorShip/.vs/MotorShip/FileContentIndex/b3e1d8bb-dfd0-472d-b83c-00ea30e237e2.vsidx rename to MotorShip/.vs/MotorShip/FileContentIndex/9779d555-e94b-4e77-9c96-3b6faa4834f0.vsidx index f3dfc77..4c13bcd 100644 Binary files a/MotorShip/.vs/MotorShip/FileContentIndex/b3e1d8bb-dfd0-472d-b83c-00ea30e237e2.vsidx and b/MotorShip/.vs/MotorShip/FileContentIndex/9779d555-e94b-4e77-9c96-3b6faa4834f0.vsidx differ diff --git a/MotorShip/.vs/MotorShip/FileContentIndex/987a3711-7ee7-4674-bd68-333d28babe47.vsidx b/MotorShip/.vs/MotorShip/FileContentIndex/f475d41f-518a-411e-a934-2c6bef37434f.vsidx similarity index 71% rename from MotorShip/.vs/MotorShip/FileContentIndex/987a3711-7ee7-4674-bd68-333d28babe47.vsidx rename to MotorShip/.vs/MotorShip/FileContentIndex/f475d41f-518a-411e-a934-2c6bef37434f.vsidx index 313ff2d..0999b2c 100644 Binary files a/MotorShip/.vs/MotorShip/FileContentIndex/987a3711-7ee7-4674-bd68-333d28babe47.vsidx and b/MotorShip/.vs/MotorShip/FileContentIndex/f475d41f-518a-411e-a934-2c6bef37434f.vsidx differ diff --git a/MotorShip/.vs/MotorShip/FileContentIndex/0cc3e2d9-f1a1-47e6-87aa-2c82775d61fd.vsidx b/MotorShip/.vs/MotorShip/FileContentIndex/f8e39df5-54dd-473b-b8d8-22bb6279242d.vsidx similarity index 70% rename from MotorShip/.vs/MotorShip/FileContentIndex/0cc3e2d9-f1a1-47e6-87aa-2c82775d61fd.vsidx rename to MotorShip/.vs/MotorShip/FileContentIndex/f8e39df5-54dd-473b-b8d8-22bb6279242d.vsidx index 23dd830..8382a5d 100644 Binary files a/MotorShip/.vs/MotorShip/FileContentIndex/0cc3e2d9-f1a1-47e6-87aa-2c82775d61fd.vsidx and b/MotorShip/.vs/MotorShip/FileContentIndex/f8e39df5-54dd-473b-b8d8-22bb6279242d.vsidx differ diff --git a/MotorShip/.vs/MotorShip/v17/.suo b/MotorShip/.vs/MotorShip/v17/.suo index e87dcfa..ef0da06 100644 Binary files a/MotorShip/.vs/MotorShip/v17/.suo and b/MotorShip/.vs/MotorShip/v17/.suo differ diff --git a/MotorShip/.vs/ProjectEvaluation/motorship.metadata.v5.1 b/MotorShip/.vs/ProjectEvaluation/motorship.metadata.v5.1 index aafe56f..c3e0330 100644 Binary files a/MotorShip/.vs/ProjectEvaluation/motorship.metadata.v5.1 and b/MotorShip/.vs/ProjectEvaluation/motorship.metadata.v5.1 differ diff --git a/MotorShip/.vs/ProjectEvaluation/motorship.projects.v5.1 b/MotorShip/.vs/ProjectEvaluation/motorship.projects.v5.1 index ea30e12..3d75fc4 100644 Binary files a/MotorShip/.vs/ProjectEvaluation/motorship.projects.v5.1 and b/MotorShip/.vs/ProjectEvaluation/motorship.projects.v5.1 differ diff --git a/ProjectMotorShip/.vs/ProjectEvaluation/projectmotorship.metadata.v5.1 b/ProjectMotorShip/.vs/ProjectEvaluation/projectmotorship.metadata.v5.1 new file mode 100644 index 0000000..07c9367 Binary files /dev/null and b/ProjectMotorShip/.vs/ProjectEvaluation/projectmotorship.metadata.v5.1 differ diff --git a/ProjectMotorShip/.vs/ProjectEvaluation/projectmotorship.projects.v5.1 b/ProjectMotorShip/.vs/ProjectEvaluation/projectmotorship.projects.v5.1 new file mode 100644 index 0000000..7175ac0 Binary files /dev/null and b/ProjectMotorShip/.vs/ProjectEvaluation/projectmotorship.projects.v5.1 differ diff --git a/ProjectMotorShip/.vs/ProjectMotorShip/DesignTimeBuild/.dtbcache.v2 b/ProjectMotorShip/.vs/ProjectMotorShip/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..9b8e41b Binary files /dev/null and b/ProjectMotorShip/.vs/ProjectMotorShip/DesignTimeBuild/.dtbcache.v2 differ diff --git a/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/048680c1-deb0-4289-9d63-994d9cfd4972.vsidx b/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/048680c1-deb0-4289-9d63-994d9cfd4972.vsidx new file mode 100644 index 0000000..49ec159 Binary files /dev/null and b/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/048680c1-deb0-4289-9d63-994d9cfd4972.vsidx differ diff --git a/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/1d0a5900-fea2-4656-8583-0cb9de495eab.vsidx b/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/1d0a5900-fea2-4656-8583-0cb9de495eab.vsidx new file mode 100644 index 0000000..fc924ee Binary files /dev/null and b/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/1d0a5900-fea2-4656-8583-0cb9de495eab.vsidx differ diff --git a/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/4acb6d64-cc2b-4a61-b073-2b6ea35bb85b.vsidx b/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/4acb6d64-cc2b-4a61-b073-2b6ea35bb85b.vsidx new file mode 100644 index 0000000..aa1ec7f Binary files /dev/null and b/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/4acb6d64-cc2b-4a61-b073-2b6ea35bb85b.vsidx differ diff --git a/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/5bf94c4f-9989-4654-b5e5-7addd6ef60f8.vsidx b/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/5bf94c4f-9989-4654-b5e5-7addd6ef60f8.vsidx deleted file mode 100644 index a6344a7..0000000 Binary files a/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/5bf94c4f-9989-4654-b5e5-7addd6ef60f8.vsidx and /dev/null differ diff --git a/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/86b3d37a-93c1-47dc-8274-23c1cbe69b5d.vsidx b/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/86b3d37a-93c1-47dc-8274-23c1cbe69b5d.vsidx deleted file mode 100644 index d8ecec2..0000000 Binary files a/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/86b3d37a-93c1-47dc-8274-23c1cbe69b5d.vsidx and /dev/null differ diff --git a/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/d55440e2-3113-417c-ba0f-2f7e588acc21.vsidx b/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/d55440e2-3113-417c-ba0f-2f7e588acc21.vsidx new file mode 100644 index 0000000..894417a Binary files /dev/null and b/ProjectMotorShip/.vs/ProjectMotorShip/FileContentIndex/d55440e2-3113-417c-ba0f-2f7e588acc21.vsidx differ diff --git a/ProjectMotorShip/.vs/ProjectMotorShip/v17/.futdcache.v2 b/ProjectMotorShip/.vs/ProjectMotorShip/v17/.futdcache.v2 new file mode 100644 index 0000000..7e24314 Binary files /dev/null and b/ProjectMotorShip/.vs/ProjectMotorShip/v17/.futdcache.v2 differ diff --git a/ProjectMotorShip/.vs/ProjectMotorShip/v17/.suo b/ProjectMotorShip/.vs/ProjectMotorShip/v17/.suo index 9a8fd48..92208a4 100644 Binary files a/ProjectMotorShip/.vs/ProjectMotorShip/v17/.suo and b/ProjectMotorShip/.vs/ProjectMotorShip/v17/.suo differ diff --git a/ProjectMotorShip/ProjectMotorShip/DirectionType.cs b/ProjectMotorShip/ProjectMotorShip/DirectionType.cs new file mode 100644 index 0000000..4fdb791 --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/DirectionType.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ProjectMotorShip +{ + public enum DirectionType + { + /// + /// Вверх + /// + Up = 1, + /// + /// Вниз + /// + Down = 2, + /// + /// Влево + /// + Left = 3, + /// + /// Вправо + /// + Right = 4 + } +} diff --git a/ProjectMotorShip/ProjectMotorShip/DrawningMotorShip.cs b/ProjectMotorShip/ProjectMotorShip/DrawningMotorShip.cs new file mode 100644 index 0000000..eb9bc5a --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/DrawningMotorShip.cs @@ -0,0 +1,185 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ProjectMotorShip +{ + public class DrawningMotorShip + { + /// + /// Класс-сущность + /// + public EntityMotorShip? EntityMotorShip { get; private set; } + /// + /// Ширина окна + /// + private int _pictureWidth; + /// + /// Высота окна + /// + private int _pictureHeight; + /// + /// Левая координата прорисовки автомобиля + /// + private int _startPosX; + /// + /// Верхняя кооридната прорисовки автомобиля + /// + private int _startPosY; + /// + /// Ширина прорисовки автомобиля + /// + private readonly int _MotorShipWidth = 100; + /// + /// Высота прорисовки автомобиля + /// + private readonly int _MotorShipHeight = 70; + /// + /// Инициализация свойств + /// + /// Скорость + /// Вес + /// Цвет корпуса + /// Дополнительный цвет + /// Признак наличия труб + /// Признак наличия отсека для топлива + /// Ширина картинки + /// Высота картинки + /// true - объект создан, false - проверка не пройдена,нельзя создать объект в этих размерах + public bool Init(int speed, double weight, Color bodyColor, Color additionalColor, bool pipes, bool section, + int width, int height) + { + if (width < _MotorShipWidth || height < _MotorShipHeight) + { + return false; + } + _pictureWidth = width; + _pictureHeight = height; + EntityMotorShip = new EntityMotorShip(); + EntityMotorShip.Init(speed, weight, bodyColor, additionalColor, pipes, section); + return true; + } + /// + /// Установка позиции + /// + /// Координата X + /// Координата Y + public void SetPosition(int x, int y) + { + /// + /// Проверка, что x и y не выходят за пределы формы + /// + if (x < 0 || x + _MotorShipWidth > _pictureWidth) + { + x = 20; + } + if (y < 0 || y + _MotorShipHeight > _pictureHeight) + { + y = 20; + } + _startPosX = x; + _startPosY = y; + } + /// + /// Изменение направления перемещения + /// + /// Направление + public void MoveTransport(DirectionType direction) + { + if (EntityMotorShip == null) + { + return; + } + switch (direction) + { + //влево + case DirectionType.Left: + if (_startPosX - EntityMotorShip.Step > 0) + { + _startPosX -= (int)EntityMotorShip.Step; + } + break; + //вверх + case DirectionType.Up: + if (_startPosY - EntityMotorShip.Step > 0) + { + _startPosY -= (int)EntityMotorShip.Step; + } + break; + // вправо + case DirectionType.Right: + if (_startPosX + _MotorShipWidth + EntityMotorShip.Step < _pictureWidth) + { + _startPosX += (int)EntityMotorShip.Step; + } + break; + //вниз + case DirectionType.Down: + if (_startPosY + _MotorShipHeight + EntityMotorShip.Step < _pictureHeight) + { + _startPosY += (int)EntityMotorShip.Step; + } + break; + } + } + /// + /// Прорисовка объекта + /// + /// + public void DrawTransport(Graphics g) + { + if (EntityMotorShip == null) + { + return; + } + Pen pen = new(Color.Black); + Brush optionalBrush = new SolidBrush(EntityMotorShip.BodyColor); + if (EntityMotorShip.Pipes) + { + g.FillRectangle(optionalBrush, _startPosX + 70, _startPosY, 10, 30); + g.FillRectangle(optionalBrush, _startPosX + 50, _startPosY + 10, 10, 20); + g.DrawRectangle(pen, _startPosX + 50, _startPosY + 10, 10, 20); + g.DrawRectangle(pen, _startPosX + 70, _startPosY, 10, 30); + } + if (EntityMotorShip.Section) + { + g.FillRectangle(optionalBrush, _startPosX + 10, _startPosY + 30, 10, 10); + g.DrawRectangle(pen, _startPosX + 10, _startPosY + 30, 10, 10); + } + Brush mainBrush = new SolidBrush(EntityMotorShip.AdditionalColor); + //палуба + g.FillRectangle(mainBrush, _startPosX + 30, _startPosY + 30, 60, 10); + g.DrawRectangle(pen, _startPosX + 30, _startPosY + 30, 60, 10); + //корпус + g.FillPolygon(mainBrush, new Point[] + { + new Point(_startPosX, _startPosY + 40), + new Point(_startPosX + 100, _startPosY + 40), + new Point(_startPosX + 90, _startPosY + 60), + new Point(_startPosX + 20, _startPosY + 60), + new Point(_startPosX, _startPosY + 40), + } + ); + g.DrawPolygon(pen, new Point[] + { + new Point(_startPosX, _startPosY + 40), + new Point(_startPosX + 100, _startPosY + 40), + new Point(_startPosX + 90, _startPosY + 60), + new Point(_startPosX + 20, _startPosY + 60), + new Point(_startPosX, _startPosY + 40), + } + ); + //якорь + g.DrawLine(pen, _startPosX + 25, _startPosY + 45, _startPosX + 25, _startPosY + 55); + g.DrawLine(pen, _startPosX + 20, _startPosY + 50, _startPosX + 30, _startPosY + 50); + g.DrawLine(pen, _startPosX + 23, _startPosY + 55, _startPosX + 27, _startPosY + 55); + } + + internal void Init(int v1, int v2, Color color1, Color color2, bool v3, bool v4, bool v5, int width, int height) + { + throw new NotImplementedException(); + } + } +} diff --git a/ProjectMotorShip/ProjectMotorShip/EntityMotorShip.cs b/ProjectMotorShip/ProjectMotorShip/EntityMotorShip.cs new file mode 100644 index 0000000..4e52f15 --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/EntityMotorShip.cs @@ -0,0 +1,60 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using static System.Collections.Specialized.BitVector32; + +namespace ProjectMotorShip +{ + public class EntityMotorShip + { + /// + /// Скорость + /// + 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 Pipes { get; private set; } + /// + /// Признак (опция) наличия отсека для топлива + /// + public bool Section { get; private set; } + /// + /// Шаг перемещения теплохода + /// + public double Step => (double)Speed * 100 / Weight; + /// + /// Инициализация полей объекта-класса спортивного автомобиля + /// + /// Скорость + /// Вес теплохода + /// Основной цвет + /// Дополнительный цвет + /// Признак наличия труб + /// Признак наличия отсека для топлива + public void Init(int speed, double weight, Color bodyColor, Color + additionalColor, bool pipes, bool section) + { + Speed = speed; + Weight = weight; + BodyColor = bodyColor; + AdditionalColor = additionalColor; + Pipes = pipes; + Section = section; + } + } +} diff --git a/ProjectMotorShip/ProjectMotorShip/Form1.Designer.cs b/ProjectMotorShip/ProjectMotorShip/Form1.Designer.cs deleted file mode 100644 index b220ec9..0000000 --- a/ProjectMotorShip/ProjectMotorShip/Form1.Designer.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace ProjectMotorShip -{ - 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/ProjectMotorShip/ProjectMotorShip/Form1.cs b/ProjectMotorShip/ProjectMotorShip/Form1.cs deleted file mode 100644 index bf8c0d9..0000000 --- a/ProjectMotorShip/ProjectMotorShip/Form1.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace ProjectMotorShip -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - } -} \ No newline at end of file diff --git a/ProjectMotorShip/ProjectMotorShip/MotorShip.Designer.cs b/ProjectMotorShip/ProjectMotorShip/MotorShip.Designer.cs new file mode 100644 index 0000000..b25c1ed --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/MotorShip.Designer.cs @@ -0,0 +1,135 @@ +namespace ProjectMotorShip +{ + partial class MotorShip + { + /// + /// 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.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.buttonCreate = new System.Windows.Forms.Button(); + this.buttonLeft = new System.Windows.Forms.Button(); + this.buttonRight = new System.Windows.Forms.Button(); + this.buttonUp = new System.Windows.Forms.Button(); + this.buttonDown = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // pictureBox1 + // + this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.pictureBox1.Location = new System.Drawing.Point(0, 0); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(882, 453); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.pictureBox1.TabIndex = 0; + this.pictureBox1.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(62, 402); + this.buttonCreate.Name = "buttonCreate"; + this.buttonCreate.Size = new System.Drawing.Size(94, 29); + this.buttonCreate.TabIndex = 1; + this.buttonCreate.Text = "Создать"; + this.buttonCreate.UseVisualStyleBackColor = true; + this.buttonCreate.Click += new System.EventHandler(this.buttonCreate_Click_1); + // + // buttonLeft + // + this.buttonLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonLeft.BackgroundImage = global::ProjectMotorShip.Properties.Resources.стрелка2; + this.buttonLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonLeft.Location = new System.Drawing.Point(746, 402); + this.buttonLeft.Name = "buttonLeft"; + this.buttonLeft.Size = new System.Drawing.Size(30, 30); + this.buttonLeft.TabIndex = 2; + this.buttonLeft.UseVisualStyleBackColor = true; + this.buttonLeft.Click += new System.EventHandler(this.buttonMove_Click); + // + // buttonRight + // + this.buttonRight.BackgroundImage = global::ProjectMotorShip.Properties.Resources.стрелка; + this.buttonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonRight.Location = new System.Drawing.Point(818, 402); + 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); + // + // buttonUp + // + this.buttonUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonUp.BackgroundImage = global::ProjectMotorShip.Properties.Resources.стрелка3; + this.buttonUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonUp.Location = new System.Drawing.Point(782, 366); + 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); + // + // buttonDown + // + this.buttonDown.BackgroundImage = global::ProjectMotorShip.Properties.Resources.стрелка1; + this.buttonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.buttonDown.Location = new System.Drawing.Point(782, 402); + 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); + // + // MotorShip + // + // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); + // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(882, 453); + this.Controls.Add(this.buttonDown); + this.Controls.Add(this.buttonUp); + this.Controls.Add(this.buttonRight); + this.Controls.Add(this.buttonLeft); + this.Controls.Add(this.buttonCreate); + this.Controls.Add(this.pictureBox1); + this.Name = "MotorShip"; + this.Text = "Form1"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private PictureBox pictureBox1; + private Button buttonCreate; + private Button buttonLeft; + private Button buttonRight; + private Button buttonUp; + private Button buttonDown; + } +} \ No newline at end of file diff --git a/ProjectMotorShip/ProjectMotorShip/MotorShip.cs b/ProjectMotorShip/ProjectMotorShip/MotorShip.cs new file mode 100644 index 0000000..b0e18c6 --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/MotorShip.cs @@ -0,0 +1,69 @@ +using System.Windows.Forms; + +namespace ProjectMotorShip +{ + public partial class MotorShip : Form + { + + /// + /// - + /// + private DrawningMotorShip? _drawningMotorShip; + public MotorShip() + { + InitializeComponent(); + } + /// + /// + /// + private void Draw() + { + if (_drawningMotorShip == null) + { + return; + } + Bitmap bmp = new(pictureBox1.Width, pictureBox1.Height); + Graphics gr = Graphics.FromImage(bmp); + _drawningMotorShip.DrawTransport(gr); pictureBox1.Image = bmp; + } + + private void buttonMove_Click(object sender, EventArgs e) + { + if (_drawningMotorShip == null) + { + return; + } + string name = ((Button)sender)?.Name ?? string.Empty; + switch (name) + { + case "buttonUp": + _drawningMotorShip.MoveTransport(DirectionType.Up); + break; + case "buttonDown": + _drawningMotorShip.MoveTransport(DirectionType.Down); + break; + case "buttonLeft": + _drawningMotorShip.MoveTransport(DirectionType.Left); + break; + case "buttonRight": + _drawningMotorShip.MoveTransport(DirectionType.Right); + break; + } + Draw(); + } + + private void buttonCreate_Click_1(object sender, EventArgs e) + { + Random random = new(); + _drawningMotorShip = new DrawningMotorShip(); + _drawningMotorShip.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))*/ + pictureBox1.Width, pictureBox1.Height); + _drawningMotorShip.SetPosition(random.Next(10, 100), random.Next(10, 100)); + Draw(); + } + } +} diff --git a/ProjectMotorShip/ProjectMotorShip/MotorShip.resx b/ProjectMotorShip/ProjectMotorShip/MotorShip.resx new file mode 100644 index 0000000..f298a7b --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/MotorShip.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/ProjectMotorShip/ProjectMotorShip/Program.cs b/ProjectMotorShip/ProjectMotorShip/Program.cs index 218c811..de330b1 100644 --- a/ProjectMotorShip/ProjectMotorShip/Program.cs +++ b/ProjectMotorShip/ProjectMotorShip/Program.cs @@ -11,7 +11,7 @@ namespace ProjectMotorShip // 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 MotorShip()); } } } \ No newline at end of file diff --git a/ProjectMotorShip/ProjectMotorShip/ProjectMotorShip.csproj b/ProjectMotorShip/ProjectMotorShip/ProjectMotorShip.csproj index b57c89e..13ee123 100644 --- a/ProjectMotorShip/ProjectMotorShip/ProjectMotorShip.csproj +++ b/ProjectMotorShip/ProjectMotorShip/ProjectMotorShip.csproj @@ -8,4 +8,19 @@ enable + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + \ No newline at end of file diff --git a/ProjectMotorShip/ProjectMotorShip/ProjectMotorShip.csproj.user b/ProjectMotorShip/ProjectMotorShip/ProjectMotorShip.csproj.user index 7814ea2..a1468c1 100644 --- a/ProjectMotorShip/ProjectMotorShip/ProjectMotorShip.csproj.user +++ b/ProjectMotorShip/ProjectMotorShip/ProjectMotorShip.csproj.user @@ -1,8 +1,8 @@  - - - Form - - - + + + Form + + + \ No newline at end of file diff --git a/ProjectMotorShip/ProjectMotorShip/Properties/Resources.Designer.cs b/ProjectMotorShip/ProjectMotorShip/Properties/Resources.Designer.cs new file mode 100644 index 0000000..b19e52f --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace ProjectMotorShip.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("ProjectMotorShip.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 стрелка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)); + } + } + } +} diff --git a/ProjectMotorShip/ProjectMotorShip/Form1.resx b/ProjectMotorShip/ProjectMotorShip/Properties/Resources.resx similarity index 82% rename from ProjectMotorShip/ProjectMotorShip/Form1.resx rename to ProjectMotorShip/ProjectMotorShip/Properties/Resources.resx index 1af7de1..979ee7d 100644 --- a/ProjectMotorShip/ProjectMotorShip/Form1.resx +++ b/ProjectMotorShip/ProjectMotorShip/Properties/Resources.resx @@ -117,4 +117,17 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\стрелка.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\стрелка2.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\стрелка1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\стрелка3.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/ProjectMotorShip/ProjectMotorShip/Resources/стрелка.jpg b/ProjectMotorShip/ProjectMotorShip/Resources/стрелка.jpg new file mode 100644 index 0000000..381d335 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/Resources/стрелка.jpg differ diff --git a/ProjectMotorShip/ProjectMotorShip/Resources/стрелка1.jpg b/ProjectMotorShip/ProjectMotorShip/Resources/стрелка1.jpg new file mode 100644 index 0000000..21bb168 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/Resources/стрелка1.jpg differ diff --git a/ProjectMotorShip/ProjectMotorShip/Resources/стрелка2.jpg b/ProjectMotorShip/ProjectMotorShip/Resources/стрелка2.jpg new file mode 100644 index 0000000..cfb516c Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/Resources/стрелка2.jpg differ diff --git a/ProjectMotorShip/ProjectMotorShip/Resources/стрелка3.jpg b/ProjectMotorShip/ProjectMotorShip/Resources/стрелка3.jpg new file mode 100644 index 0000000..03ee38b Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/Resources/стрелка3.jpg differ diff --git a/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.deps.json b/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.deps.json new file mode 100644 index 0000000..6d8786a --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "ProjectMotorShip/1.0.0": { + "runtime": { + "ProjectMotorShip.dll": {} + } + } + } + }, + "libraries": { + "ProjectMotorShip/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.dll b/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.dll new file mode 100644 index 0000000..7a6c161 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.dll differ diff --git a/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.exe b/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.exe new file mode 100644 index 0000000..d6945a9 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.exe differ diff --git a/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.pdb b/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.pdb new file mode 100644 index 0000000..4b44557 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.pdb differ diff --git a/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.runtimeconfig.json b/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.runtimeconfig.json new file mode 100644 index 0000000..f9988b2 --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/bin/Debug/net6.0-windows/ProjectMotorShip.runtimeconfig.json @@ -0,0 +1,15 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "6.0.0" + } + ] + } +} \ No newline at end of file diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.MotorShip.resources b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.MotorShip.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.MotorShip.resources differ diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.Properties.Resources.resources b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.Properties.Resources.resources new file mode 100644 index 0000000..73eb038 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.Properties.Resources.resources differ diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.csproj.BuildWithSkipAnalyzers b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.csproj.CoreCompileInputs.cache b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..ef7bd10 --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +92a56f81e67c3af2f643156bfb15fe83c802e1d6 diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.csproj.FileListAbsolute.txt b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..f0930a4 --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.csproj.FileListAbsolute.txt @@ -0,0 +1,18 @@ +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\ProjectMotorShip.csproj.AssemblyReference.cache +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\ProjectMotorShip.MotorShip.resources +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\ProjectMotorShip.Properties.Resources.resources +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\ProjectMotorShip.csproj.GenerateResource.cache +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\ProjectMotorShip.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\ProjectMotorShip.AssemblyInfoInputs.cache +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\ProjectMotorShip.AssemblyInfo.cs +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\ProjectMotorShip.csproj.CoreCompileInputs.cache +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\bin\Debug\net6.0-windows\ProjectMotorShip.exe +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\bin\Debug\net6.0-windows\ProjectMotorShip.deps.json +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\bin\Debug\net6.0-windows\ProjectMotorShip.runtimeconfig.json +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\bin\Debug\net6.0-windows\ProjectMotorShip.dll +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\bin\Debug\net6.0-windows\ProjectMotorShip.pdb +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\ProjectMotorShip.dll +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\refint\ProjectMotorShip.dll +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\ProjectMotorShip.pdb +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\ProjectMotorShip.genruntimeconfig.cache +C:\Users\Екатерина\OneDrive\Desktop\РПП\ProjectMotorShip\ProjectMotorShip\obj\Debug\net6.0-windows\ref\ProjectMotorShip.dll diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.csproj.GenerateResource.cache b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.csproj.GenerateResource.cache new file mode 100644 index 0000000..fb40c74 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.csproj.GenerateResource.cache differ diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.dll b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.dll new file mode 100644 index 0000000..7a6c161 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.dll differ diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.genruntimeconfig.cache b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.genruntimeconfig.cache new file mode 100644 index 0000000..b06cd33 --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.genruntimeconfig.cache @@ -0,0 +1 @@ +05daa9d4e5f382269d4be57a313a0536afa893c4 diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.pdb b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.pdb new file mode 100644 index 0000000..4b44557 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ProjectMotorShip.pdb differ diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..2d56e81 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/_IsIncrementalBuild b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/_IsIncrementalBuild new file mode 100644 index 0000000..7276f87 --- /dev/null +++ b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/_IsIncrementalBuild @@ -0,0 +1 @@ +obj\Debug\net6.0-windows\\_IsIncrementalBuild diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/apphost.exe b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/apphost.exe new file mode 100644 index 0000000..d6945a9 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/apphost.exe differ diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ref/ProjectMotorShip.dll b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ref/ProjectMotorShip.dll new file mode 100644 index 0000000..d8f8707 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/ref/ProjectMotorShip.dll differ diff --git a/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/refint/ProjectMotorShip.dll b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/refint/ProjectMotorShip.dll new file mode 100644 index 0000000..d8f8707 Binary files /dev/null and b/ProjectMotorShip/ProjectMotorShip/obj/Debug/net6.0-windows/refint/ProjectMotorShip.dll differ