From 5e582dca905da881aeba89f2876bfd5d561355d7 Mon Sep 17 00:00:00 2001 From: NikGapon <45200250+NikGapon@users.noreply.github.com> Date: Sat, 22 Oct 2022 18:15:09 +0400 Subject: [PATCH] final fix --- Airbus/Airbus/DrawingAirbus.cs | 1 - Airbus/Airbus/FormAirbus.cs | 2 -- Airbus/Airbus/Properties/Resources.Designer.cs | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Airbus/Airbus/DrawingAirbus.cs b/Airbus/Airbus/DrawingAirbus.cs index db5eeb2..0c636ca 100644 --- a/Airbus/Airbus/DrawingAirbus.cs +++ b/Airbus/Airbus/DrawingAirbus.cs @@ -68,7 +68,6 @@ namespace Airbus } Pen pen = new(Color.Black); - SolidBrush brush = new SolidBrush(airbus?.BodyColor ?? Color.White); g.FillPolygon(brush, new[] { diff --git a/Airbus/Airbus/FormAirbus.cs b/Airbus/Airbus/FormAirbus.cs index b7c196b..1d17750 100644 --- a/Airbus/Airbus/FormAirbus.cs +++ b/Airbus/Airbus/FormAirbus.cs @@ -40,8 +40,6 @@ namespace Airbus Draw(); } - - private void ButtonMove_Click(object sender, EventArgs e) { string name = ((Button)sender)?.Name ?? string.Empty; diff --git a/Airbus/Airbus/Properties/Resources.Designer.cs b/Airbus/Airbus/Properties/Resources.Designer.cs index c9cfc80..f19282a 100644 --- a/Airbus/Airbus/Properties/Resources.Designer.cs +++ b/Airbus/Airbus/Properties/Resources.Designer.cs @@ -129,7 +129,7 @@ namespace Airbus.Properties { return ((System.Drawing.Bitmap)(obj)); } } - + /// /// Поиск локализованного ресурса типа System.Drawing.Bitmap. ///