Revert "Переход на конструкторы"

This reverts commit ce9a95178c.
This commit is contained in:
devil_1nc 2022-09-26 20:39:14 +04:00
parent 4f76d25f8d
commit a367bf8cea

View File

@ -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);