Compare commits
2 Commits
41f1398da6
...
d07056b1bd
Author | SHA1 | Date | |
---|---|---|---|
|
d07056b1bd | ||
|
2211d27fc7 |
@ -17,8 +17,7 @@ namespace DoubleDeckerBus
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Bitmap bmp = new(pictureBoxBus.Width,
|
Bitmap bmp = new(pictureBoxBus.Width, pictureBoxBus.Height);
|
||||||
pictureBoxBus.Height);
|
|
||||||
Graphics gr = Graphics.FromImage(bmp);
|
Graphics gr = Graphics.FromImage(bmp);
|
||||||
_drawningBus.DrawTransport(gr);
|
_drawningBus.DrawTransport(gr);
|
||||||
pictureBoxBus.Image = bmp;
|
pictureBoxBus.Image = bmp;
|
||||||
|
Loading…
Reference in New Issue
Block a user