PIbd-21 Kryukov A.I Lab 2 Base #9

Closed
SooNooClose wants to merge 10 commits from lab_2 into lab_1
Showing only changes of commit 7b6f4285e5 - Show all commits

View File

@ -172,7 +172,7 @@ namespace ProjectExcavator.DrawningObjects
}
Pen pen = new(Color.Black);
//корпус
Brush bodyBrush = new SolidBrush(Color.Red);
Brush bodyBrush = new SolidBrush(EntityExcavator.BodyColor);
g.FillRectangle(bodyBrush, _startPosX + 20, _startPosY + 60, 130, 20);
g.FillRectangle(bodyBrush, _startPosX + 100, _startPosY + 20, 30, 40);
g.FillRectangle(bodyBrush, _startPosX + 30, _startPosY + 40, 10, 20);