последняя
This commit is contained in:
parent
1e08707715
commit
7e9c4ce173
@ -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);
|
||||
|
@ -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;
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user