This commit is contained in:
yuliya.mavrina@internet.ru 2023-10-16 12:30:36 +03:00
commit d07056b1bd

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;