diff --git a/ProjectSportCar/ProjectSportCar/CollectionGenericObjects/CarSharingService.cs b/ProjectSportCar/ProjectSportCar/CollectionGenericObjects/CarSharingService.cs index e73434f..1060292 100644 --- a/ProjectSportCar/ProjectSportCar/CollectionGenericObjects/CarSharingService.cs +++ b/ProjectSportCar/ProjectSportCar/CollectionGenericObjects/CarSharingService.cs @@ -2,8 +2,17 @@ namespace ProjectSportCar.CollectionGenericObjects; +/// +/// Реализация абстрактной компании - каршеринг +/// public class CarSharingService : AbstractCompany { + /// + /// Конструктор + /// + /// + /// + /// public CarSharingService(int picWidth, int picHeight, ICollectionGenericObjects collection) : base(picWidth, picHeight, collection) { } diff --git a/ProjectSportCar/ProjectSportCar/FormCarCollection.cs b/ProjectSportCar/ProjectSportCar/FormCarCollection.cs index 6cbc738..9d26a36 100644 --- a/ProjectSportCar/ProjectSportCar/FormCarCollection.cs +++ b/ProjectSportCar/ProjectSportCar/FormCarCollection.cs @@ -69,6 +69,7 @@ public partial class FormCarCollection : Form drawningCar = new DrawningCar(random.Next(100, 300), random.Next(1000, 3000), GetColor(random)); break; case nameof(DrawningSportCar): + // TODO вызов диалогового окна для выбора цвета drawningCar = new DrawningSportCar(random.Next(100, 300), random.Next(1000, 3000), Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)), Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)),