From f5915d780337be56c272594398692312ebd2aa2c Mon Sep 17 00:00:00 2001 From: IlyasValiulov <148232695+IlyasValiulov@users.noreply.github.com> Date: Thu, 4 Apr 2024 12:12:52 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=B0=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=20=E2=84=965=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectWarmlyShip/ProjectWarmlyShip/FormShipConfig.cs | 1 - ProjectWarmlyShip/ProjectWarmlyShip/ShipDelegate.cs | 6 ------ 2 files changed, 7 deletions(-) delete mode 100644 ProjectWarmlyShip/ProjectWarmlyShip/ShipDelegate.cs diff --git a/ProjectWarmlyShip/ProjectWarmlyShip/FormShipConfig.cs b/ProjectWarmlyShip/ProjectWarmlyShip/FormShipConfig.cs index c8740da..ba4ae7d 100644 --- a/ProjectWarmlyShip/ProjectWarmlyShip/FormShipConfig.cs +++ b/ProjectWarmlyShip/ProjectWarmlyShip/FormShipConfig.cs @@ -6,7 +6,6 @@ namespace ProjectWarmlyShip; public partial class FormShipConfig : Form { private DrawningShip? _ship = null; - //что делать с пользовательским делегатом private event Action? ShipDelegate; public FormShipConfig() { diff --git a/ProjectWarmlyShip/ProjectWarmlyShip/ShipDelegate.cs b/ProjectWarmlyShip/ProjectWarmlyShip/ShipDelegate.cs deleted file mode 100644 index 42615da..0000000 --- a/ProjectWarmlyShip/ProjectWarmlyShip/ShipDelegate.cs +++ /dev/null @@ -1,6 +0,0 @@ -using ProjectWarmlyShip.Drawnings; - -namespace ProjectWarmlyShip; - -public delegate void ShipDelegate(DrawningShip ship); -