Mavrina_J.E. Lab Work 1 #1

Closed
Mavrina_Julia wants to merge 6 commits from Лаб_1 into main
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;