Romanov E.V. LabWork5 #12

Closed
RomanovEgor wants to merge 3 commits from 4LAB into 5LAB
Showing only changes of commit 6aa79beb6b - Show all commits

View File

@ -38,7 +38,7 @@ namespace HoistingCrane
Bitmap bmp = new(_pictureWidth, _pictureWidth);
Graphics gr = Graphics.FromImage(bmp);
DrawBackground(gr);
DrawBulldozers(gr);
DrawHoistingCranes(gr);
return bmp;
}
public Bitmap ShowOnMap()
@ -95,7 +95,7 @@ namespace HoistingCrane
}
}
private void DrawBulldozers(Graphics gr)
private void DrawHoistingCranes(Graphics gr)
{
int heightEl = _pictureHeight / _placeSizeHeight;
int widthEl = _pictureWidth / _placeSizeWidth;