последняя

This commit is contained in:
Nastya_Kozlova 2023-11-12 16:33:51 +04:00
parent 1e08707715
commit 7e9c4ce173
2 changed files with 2 additions and 4 deletions

View File

@ -14,7 +14,6 @@ namespace AirFighter.Generics
where T : DrawningAirplane
where U : IMoveableObject
{
// Ширина окна прорисовки
private readonly int _pictureWidth;
// Высота окна прорисовки
@ -38,7 +37,7 @@ namespace AirFighter.Generics
_pictureHeight = picHeight;
_collection = new SetGeneric<T>(width * height);
}
public static int operator +(AirplanesGenericCollection<T, U> collect, T? obj)
{
if (obj == null)
@ -74,7 +73,6 @@ namespace AirFighter.Generics
}
// Метод отрисовки фона
private void DrawBackground(Graphics g)
{
Pen pen = new(Color.Black, 3);

View File

@ -43,7 +43,7 @@
//
pictureBoxCollection.Location = new Point(1, 0);
pictureBoxCollection.Name = "pictureBoxCollection";
pictureBoxCollection.Size = new Size(544, 446);
pictureBoxCollection.Size = new Size(787, 446);
pictureBoxCollection.TabIndex = 0;
pictureBoxCollection.TabStop = false;
//