Mavrina J.E. Lab work 2 #2

Merged
Mavrina_Julia merged 3 commits from Лаб_2 into Лаб_1 2023-10-16 12:30:23 +04:00
Showing only changes of commit d07056b1bd - Show all commits

View File

@ -17,8 +17,7 @@ namespace DoubleDeckerBus
{
return;
}
Bitmap bmp = new(pictureBoxBus.Width,
pictureBoxBus.Height);
Bitmap bmp = new(pictureBoxBus.Width, pictureBoxBus.Height);
Graphics gr = Graphics.FromImage(bmp);
_drawningBus.DrawTransport(gr);
pictureBoxBus.Image = bmp;