From 5ed0f353cde500a2304911cc84c451ca080bb840 Mon Sep 17 00:00:00 2001 From: prodigygirl Date: Mon, 24 Oct 2022 19:41:16 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7?= =?UTF-8?q?=D1=83=D0=B5=D1=82=D1=81=D1=8F=20=D0=B2=D1=81=D1=82=D1=80=D0=BE?= =?UTF-8?q?=D0=B5=D0=BD=D0=BD=D1=8B=D0=B9=20=D0=B4=D0=B5=D0=BB=D0=B5=D0=B3?= =?UTF-8?q?=D0=B0=D1=82=20=D0=B2=D0=BC=D0=B5=D1=81=D1=82=D0=BE=20=D1=81?= =?UTF-8?q?=D0=BE=D0=B1=D1=81=D1=82=D0=B2=D0=B5=D0=BD=D0=BD=D0=BE=D0=B3?= =?UTF-8?q?=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ArmoredCar/ArmoredCar/FormArmoredCarConfig.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArmoredCar/ArmoredCar/FormArmoredCarConfig.cs b/ArmoredCar/ArmoredCar/FormArmoredCarConfig.cs index fe55d99..a5ceb7e 100644 --- a/ArmoredCar/ArmoredCar/FormArmoredCarConfig.cs +++ b/ArmoredCar/ArmoredCar/FormArmoredCarConfig.cs @@ -19,7 +19,7 @@ namespace ArmoredCar /// /// Событие /// - private event ArmoredCarDelegate EventAddCar; + private event Action EventAddCar; /// /// Конструктор /// @@ -53,11 +53,11 @@ namespace ArmoredCar /// Добавление события /// /// - public void AddEvent(ArmoredCarDelegate ev) + public void AddEvent(Action ev) { if (EventAddCar == null) { - EventAddCar = new ArmoredCarDelegate(ev); + EventAddCar = new Action(ev); } else {