Compare commits

...

2 Commits

Author SHA1 Message Date
yuliya.mavrina@internet.ru
d07056b1bd ntcn 2023-10-16 12:30:36 +03:00
yuliya.mavrina@internet.ru
2211d27fc7 Лабораторная №1 2023-10-06 17:29:04 +03:00

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;