Лаб_2 #3
@ -20,8 +20,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;
|
||||
|
Loading…
Reference in New Issue
Block a user