Лабораторная работа №5 (1)

This commit is contained in:
alhimek17 2024-04-21 20:36:55 +04:00
parent 557d17ab8a
commit 24e042d02d
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ public class DrawningAirPlane : DrawningPlane
return;
}
Pen pen = new(Color.Black);
Brush additionalBrush = new SolidBrush(EntityPlane.BodyColor);
Brush additionalBrush = new SolidBrush(airPlane.AdditionalColor);
if (airPlane.Chassi)
{

View File

@ -59,7 +59,7 @@ public partial class FormPlaneConfig : Form
Bitmap bmp = new(pictureBoxObject.Width, pictureBoxObject.Height);
Graphics gr = Graphics.FromImage(bmp);
_plane?.SetPictureSize(pictureBoxObject.Width, pictureBoxObject.Height);
_plane?.SetPosition(110, 75);
_plane?.SetPosition(80, 60);
_plane?.DrawTransport(gr);
pictureBoxObject.Image = bmp;
}