From 2383016c2ce20b3a51430f36c134f8717abf81a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3=20=D0=9A=D1=83=D0=B4=D1=80=D0=B8?= =?UTF-8?q?=D0=BD=D1=81=D0=BA=D0=B8=D0=B9?= Date: Fri, 15 Mar 2024 15:52:26 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BF=D0=B0=D1=80=D1=83=20=D0=BF=D0=BE=D0=B4=D0=BF=D0=B8=D1=81?= =?UTF-8?q?=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProjectContainerShip/Drawings/DrawningContainerShip.cs | 3 +++ .../ProjectContainerShip/Entities/EntityContainerShip.cs | 2 +- .../ProjectContainerShip/FormContainerShip.Designer.cs | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ProjectContainerShip/ProjectContainerShip/Drawings/DrawningContainerShip.cs b/ProjectContainerShip/ProjectContainerShip/Drawings/DrawningContainerShip.cs index 80d6e61..4dfaa2d 100644 --- a/ProjectContainerShip/ProjectContainerShip/Drawings/DrawningContainerShip.cs +++ b/ProjectContainerShip/ProjectContainerShip/Drawings/DrawningContainerShip.cs @@ -2,6 +2,9 @@ namespace ProjectContainerShip.Drawings; +/// +/// Класс, отвечающий за прорисовку и перемещение объекта-сущности +/// public class DrawningContainerShip : DrawningShip { /// diff --git a/ProjectContainerShip/ProjectContainerShip/Entities/EntityContainerShip.cs b/ProjectContainerShip/ProjectContainerShip/Entities/EntityContainerShip.cs index 00fb2b8..9f98d29 100644 --- a/ProjectContainerShip/ProjectContainerShip/Entities/EntityContainerShip.cs +++ b/ProjectContainerShip/ProjectContainerShip/Entities/EntityContainerShip.cs @@ -21,7 +21,7 @@ public class EntityContainerShip : EntityShip public bool Container { get; private set; } /// - /// + /// Инициализация поле объекта-класса Контейнеровоза /// /// Скорость /// Вес контейнеровоза diff --git a/ProjectContainerShip/ProjectContainerShip/FormContainerShip.Designer.cs b/ProjectContainerShip/ProjectContainerShip/FormContainerShip.Designer.cs index c044adc..6008ea5 100644 --- a/ProjectContainerShip/ProjectContainerShip/FormContainerShip.Designer.cs +++ b/ProjectContainerShip/ProjectContainerShip/FormContainerShip.Designer.cs @@ -123,6 +123,7 @@ namespace ProjectContainerShip // // comboBoxStrategy // + comboBoxStrategy.Anchor = AnchorStyles.Top | AnchorStyles.Right; comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList; comboBoxStrategy.FormattingEnabled = true; comboBoxStrategy.Items.AddRange(new object[] { "К центру ", "К краю" }); @@ -133,6 +134,7 @@ namespace ProjectContainerShip // // buttonStrategyStep // + buttonStrategyStep.Anchor = AnchorStyles.Top | AnchorStyles.Right; buttonStrategyStep.Location = new Point(1094, 58); buttonStrategyStep.Name = "buttonStrategyStep"; buttonStrategyStep.Size = new Size(150, 46);