From e1d06947ff0d56632e56452a241ae4a2fc01875b Mon Sep 17 00:00:00 2001 From: MorozovDanil Date: Tue, 13 Feb 2024 19:38:18 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=BA=D0=B0=20=D0=BE=D1=88=D0=B8=D0=B1?= =?UTF-8?q?=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProjectContainerShip/DrawningContainerShip.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectContainerShip/ProjectContainerShip/DrawningContainerShip.cs b/ProjectContainerShip/ProjectContainerShip/DrawningContainerShip.cs index 4a45d5a..61ce1ff 100644 --- a/ProjectContainerShip/ProjectContainerShip/DrawningContainerShip.cs +++ b/ProjectContainerShip/ProjectContainerShip/DrawningContainerShip.cs @@ -52,7 +52,6 @@ public class DrawningContainerShip /// Дополнительный цвет /// Признак наличия контейнеров /// Признак наличия антикрыла - /// Признак наличия гоночной полосы public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool bodyKit, bool Crane) { EntityContainerShip = new EntityContainerShip(); @@ -184,6 +183,7 @@ public class DrawningContainerShip Brush brYellow = new SolidBrush(Color.LightYellow); g.DrawRectangle(pen, _startPosX.Value + 20, _startPosY.Value + 30, 30, 30); g.FillRectangle(brYellow, _startPosX.Value + 20, _startPosY.Value + 30, 30, 30); + //кузов Brush br = new SolidBrush(EntityContainerShip.BodyColor);