diff --git a/Project_airbus/Project_airbus/CollectionGenericObjects/ICollectionGenericObjects.cs b/Project_airbus/Project_airbus/CollectionGenericObjects/ICollectionGenericObjects.cs index cc38227..fcd5723 100644 --- a/Project_airbus/Project_airbus/CollectionGenericObjects/ICollectionGenericObjects.cs +++ b/Project_airbus/Project_airbus/CollectionGenericObjects/ICollectionGenericObjects.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Project_airbus.CollectionGenericObjects; +namespace Project_airbus.CollectionGenericObjects; /// /// Интерфейс описания действий для набора хранимых объектов diff --git a/Project_airbus/Project_airbus/Drawings/DirectionType.cs b/Project_airbus/Project_airbus/Drawings/DirectionType.cs index bd57169..5096096 100644 --- a/Project_airbus/Project_airbus/Drawings/DirectionType.cs +++ b/Project_airbus/Project_airbus/Drawings/DirectionType.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Project_airbus.Drawings; +namespace Project_airbus.Drawings; /// /// Направление перемещения /// diff --git a/Project_airbus/Project_airbus/Drawings/DrawingAirbus.cs b/Project_airbus/Project_airbus/Drawings/DrawingAirbus.cs index dc37a0a..6360bf2 100644 --- a/Project_airbus/Project_airbus/Drawings/DrawingAirbus.cs +++ b/Project_airbus/Project_airbus/Drawings/DrawingAirbus.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Project_airbus.Entities; +using Project_airbus.Entities; namespace Project_airbus.Drawings; diff --git a/Project_airbus/Project_airbus/Drawings/DrawingAirplan.cs b/Project_airbus/Project_airbus/Drawings/DrawingAirplan.cs index 48537d1..8769601 100644 --- a/Project_airbus/Project_airbus/Drawings/DrawingAirplan.cs +++ b/Project_airbus/Project_airbus/Drawings/DrawingAirplan.cs @@ -1,9 +1,4 @@ using Project_airbus.Entities; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Project_airbus.Drawings; @@ -225,7 +220,7 @@ public class DrawingAirplan { return; } - Pen pen = new(Color.Black); + Pen pen = new Pen(EntityAirplan.BodyAirbus); //корпус g.DrawRectangle(pen, _startPosX.Value, _startPosY.Value + 20, 100, 20); diff --git a/Project_airbus/Project_airbus/Entities/EntityAirplan.cs b/Project_airbus/Project_airbus/Entities/EntityAirplan.cs index f42c811..548cd6d 100644 --- a/Project_airbus/Project_airbus/Entities/EntityAirplan.cs +++ b/Project_airbus/Project_airbus/Entities/EntityAirplan.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Project_airbus.Entities; +namespace Project_airbus.Entities; /// /// Класс-сущность "Самолёт"