From c69dd461c09573c0b6e27c13666aa7ec0a917a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?10=D0=93=20=D0=95=D0=B3=D0=BE=D1=80=20=D0=A0=D0=BE=D0=BC?= =?UTF-8?q?=D0=B0=D0=BD=D0=BE=D0=B2?= Date: Sun, 20 Nov 2022 21:45:26 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B4=D0=B5=D0=BB=D0=B5=D0=B3=D0=B0=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HoistingCrane/HoistingCrane/FormHoistingCraneConfig.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HoistingCrane/HoistingCrane/FormHoistingCraneConfig.cs b/HoistingCrane/HoistingCrane/FormHoistingCraneConfig.cs index 17d6082..f66c00b 100644 --- a/HoistingCrane/HoistingCrane/FormHoistingCraneConfig.cs +++ b/HoistingCrane/HoistingCrane/FormHoistingCraneConfig.cs @@ -17,7 +17,7 @@ namespace HoistingCrane public DrawingHoistingCrane SelectedHoistingCrane { get; private set; } //событие - private event Action EventAddHoistingCrane; + private event HoistingCraneDelegate EventAddHoistingCrane; //конструктор public FormHoistingCraneConfig() @@ -45,11 +45,11 @@ namespace HoistingCrane } //добавление события - public void AddEvent(Action ev) + public void AddEvent(HoistingCraneDelegate ev) { if (EventAddHoistingCrane == null) { - EventAddHoistingCrane = new Action(ev); + EventAddHoistingCrane = new HoistingCraneDelegate(ev); } else {