From 1a47764b37ef7b64649330fe9764db24d9d3793f Mon Sep 17 00:00:00 2001 From: Anastasia Date: Thu, 8 Dec 2022 20:22:52 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B2=20=D0=BB=D0=BE=D0=B3=D0=B8=D1=80=D0=BE=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AirplaneWithRadar/FormMapWithSetAirplanes.cs | 2 +- AirplaneWithRadar/AirplaneWithRadar/Program.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/AirplaneWithRadar/AirplaneWithRadar/FormMapWithSetAirplanes.cs b/AirplaneWithRadar/AirplaneWithRadar/FormMapWithSetAirplanes.cs index 4414625..a234cdf 100644 --- a/AirplaneWithRadar/AirplaneWithRadar/FormMapWithSetAirplanes.cs +++ b/AirplaneWithRadar/AirplaneWithRadar/FormMapWithSetAirplanes.cs @@ -141,7 +141,7 @@ namespace AirplaneWithRadar else { MessageBox.Show("Не удалось добавить объект"); - _logger.LogInformation("Не удалось добавить объект"); + _logger.LogWarning("Не удалось добавить объект"); } } catch (StorageOverflowException ex) diff --git a/AirplaneWithRadar/AirplaneWithRadar/Program.cs b/AirplaneWithRadar/AirplaneWithRadar/Program.cs index 95858c2..4cb41e7 100644 --- a/AirplaneWithRadar/AirplaneWithRadar/Program.cs +++ b/AirplaneWithRadar/AirplaneWithRadar/Program.cs @@ -13,9 +13,9 @@ namespace AirplaneWithRadar [STAThread] static void Main() { - Application.SetHighDpiMode(HighDpiMode.SystemAware); - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); + //Application.SetHighDpiMode(HighDpiMode.SystemAware); + //Application.EnableVisualStyles(); + //Application.SetCompatibleTextRenderingDefault(false); ApplicationConfiguration.Initialize(); var services = new ServiceCollection(); ConfigureServices(services);