From 30131211c3228005ad3a63200c65a24dd9d1594d Mon Sep 17 00:00:00 2001 From: Ctepa Date: Mon, 8 Apr 2024 12:53:39 +0300 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=BE=D1=82=D0=BE=D0=B2=D0=B0=D1=8F=205?= =?UTF-8?q?=20=D0=BB=D0=B0=D0=B1=D0=B0,=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=BD=D0=BD=D0=B0=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AntiAircraftGun/AntiAircraftGun/FormGunConfig.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AntiAircraftGun/AntiAircraftGun/FormGunConfig.cs b/AntiAircraftGun/AntiAircraftGun/FormGunConfig.cs index 8116aab..9296685 100644 --- a/AntiAircraftGun/AntiAircraftGun/FormGunConfig.cs +++ b/AntiAircraftGun/AntiAircraftGun/FormGunConfig.cs @@ -14,7 +14,7 @@ public partial class FormGunConfig : Form /// /// Событие для передачи объекта /// - private event GunDelegate? _gunDelegate; + private event Action? _gunDelegate; /// /// Конструктор @@ -38,7 +38,7 @@ public partial class FormGunConfig : Form /// Привязка внешнего метода к союытию /// /// - public void AddEvent(GunDelegate gunDelegate) + public void AddEvent(Action gunDelegate) { _gunDelegate += gunDelegate; }