From f27fce51ac0887398bb7c073eaf1920d35e5cb58 Mon Sep 17 00:00:00 2001 From: Anastasia Date: Sun, 18 Dec 2022 12:20:10 +0400 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=BE=D1=82=D0=BE=D0=B2=D0=B0=D1=8F=20?= =?UTF-8?q?=D1=88=D0=B5=D1=81=D1=82=D0=B0=D1=8F=20=D0=BB=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=80=D0=B0=D1=82=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0?= =?UTF-8?q?=D0=B1=D0=BE=D1=82=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AirplaneWithRadar/ExtentionAirplane.cs | 2 +- .../AirplaneWithRadar/FormAirplaneConfig.cs | 3 +-- .../AirplaneWithRadar/MapsCollection.cs | 14 ++------------ AirplaneWithRadar/EntityAirplaneWithRadar.cs | 8 -------- 4 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 AirplaneWithRadar/EntityAirplaneWithRadar.cs diff --git a/AirplaneWithRadar/AirplaneWithRadar/ExtentionAirplane.cs b/AirplaneWithRadar/AirplaneWithRadar/ExtentionAirplane.cs index 0125813..c71ceb4 100644 --- a/AirplaneWithRadar/AirplaneWithRadar/ExtentionAirplane.cs +++ b/AirplaneWithRadar/AirplaneWithRadar/ExtentionAirplane.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace AirplaneWithRadar { /// - /// Расширение для класса DrawningCar + /// Расширение для класса DrawingAirplane /// internal static class ExtentionAirplane { diff --git a/AirplaneWithRadar/AirplaneWithRadar/FormAirplaneConfig.cs b/AirplaneWithRadar/AirplaneWithRadar/FormAirplaneConfig.cs index 30374d5..99d54f2 100644 --- a/AirplaneWithRadar/AirplaneWithRadar/FormAirplaneConfig.cs +++ b/AirplaneWithRadar/AirplaneWithRadar/FormAirplaneConfig.cs @@ -155,7 +155,6 @@ namespace AirplaneWithRadar /// private void LabelDopColor_DragDrop(object sender, DragEventArgs e) { - // TODO Call method from object _car if _car is DrawningSportCar and set dop color Color ModifColor = (Color)e.Data.GetData(typeof(Color)); if (_airplane is DrawingAirplaneWithRadar airplaneWithRadar) { @@ -164,7 +163,7 @@ namespace AirplaneWithRadar } } /// - /// Добавление машины + /// Добавление самолета /// /// /// diff --git a/AirplaneWithRadar/AirplaneWithRadar/MapsCollection.cs b/AirplaneWithRadar/AirplaneWithRadar/MapsCollection.cs index 91c02a4..9064678 100644 --- a/AirplaneWithRadar/AirplaneWithRadar/MapsCollection.cs +++ b/AirplaneWithRadar/AirplaneWithRadar/MapsCollection.cs @@ -89,17 +89,7 @@ namespace AirplaneWithRadar } } /// - /// Метод записи информации в файл - /// - /// Строка, которую следует записать - /// Поток для записи - private static void WriteToFile(string text, FileStream stream) - { - byte[] info = new UTF8Encoding(true).GetBytes(text); - stream.Write(info, 0, info.Length); - } - /// - /// Сохранение информации по автомобилям в хранилище в файл + /// Сохранение информации по самолетам в хранилище в файл /// /// Путь и имя файла /// @@ -120,7 +110,7 @@ namespace AirplaneWithRadar return true; } /// - /// Загрузка нформации по автомобилям на парковках из файла + /// Загрузка нформации по самолетам на парковках из файла /// /// /// diff --git a/AirplaneWithRadar/EntityAirplaneWithRadar.cs b/AirplaneWithRadar/EntityAirplaneWithRadar.cs deleted file mode 100644 index d555ecb..0000000 --- a/AirplaneWithRadar/EntityAirplaneWithRadar.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -public class Class1 -{ - public Class1() - { - } -}