From a367bf8cea067232d54f749ee1d27de7695e535c Mon Sep 17 00:00:00 2001 From: devil_1nc Date: Mon, 26 Sep 2022 20:39:14 +0400 Subject: [PATCH] =?UTF-8?q?Revert=20"=D0=9F=D0=B5=D1=80=D0=B5=D1=85=D0=BE?= =?UTF-8?q?=D0=B4=20=D0=BD=D0=B0=20=D0=BA=D0=BE=D0=BD=D1=81=D1=82=D1=80?= =?UTF-8?q?=D1=83=D0=BA=D1=82=D0=BE=D1=80=D1=8B"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ce9a95178cab264dd082bfb2a5ccd310eeecbad5. --- ProjectPlane/ProjectPlane/DrawingPlane.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ProjectPlane/ProjectPlane/DrawingPlane.cs b/ProjectPlane/ProjectPlane/DrawingPlane.cs index 11d7122..0cf4ea8 100644 --- a/ProjectPlane/ProjectPlane/DrawingPlane.cs +++ b/ProjectPlane/ProjectPlane/DrawingPlane.cs @@ -175,7 +175,6 @@ namespace ProjectPlane // window Brush brBlue = new SolidBrush(Color.LightBlue); - Brush brBlack = new SolidBrush(Color.Black); Point[] Triangle3 = new Point[3]; Triangle3[0].X = Convert.ToInt32(_startPosX + 108); Triangle3[0].Y = Convert.ToInt32(_startPosY - 2); @@ -185,12 +184,14 @@ namespace ProjectPlane g.DrawLine(pen, _startPosX + 37, _startPosY + 20, _startPosX + 37, _startPosY + 25); g.DrawLine(pen, _startPosX + 32, _startPosY + 25, _startPosX + 40, _startPosY + 25); - g.FillRectangle(brBlack, _startPosX + 32, _startPosY + 25, 3, 3); - g.FillRectangle(brBlack, _startPosX + 39, _startPosY + 25, 3, 3); + g.DrawRectangle(pen, _startPosX + 32, _startPosY + 25, 3, 3); + g.DrawRectangle(pen, _startPosX + 39, _startPosY + 25, 3, 3); g.DrawLine(pen, _startPosX + 102, _startPosY + 20, _startPosX + 102, _startPosY + 25); - g.FillRectangle(brBlack, _startPosX + 101, _startPosY + 25, 3, 3); - + g.DrawRectangle(pen, _startPosX + 101, _startPosY + 25, 3, 3); + + Brush brBlack = new SolidBrush(Color.Black); + g.FillRectangle(brBlack, _startPosX + 5, _startPosY - 2, 18, 7); g.FillEllipse(brBlack, _startPosX, _startPosY - 2, 7, 7); g.FillEllipse(brBlack, _startPosX + 20, _startPosY - 2, 7, 7);