From 43fc5b7a671c68fd7f3fd54a1cbd0bc25cc706fe Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Sat, 22 May 2021 02:17:13 -0400 Subject: [PATCH] sender should be this, not cmd (that's why you should use CommandEventArgs.Command) --- MBS.Framework/Application.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MBS.Framework/Application.cs b/MBS.Framework/Application.cs index d05f0a3..140e8fd 100644 --- a/MBS.Framework/Application.cs +++ b/MBS.Framework/Application.cs @@ -163,7 +163,7 @@ namespace MBS.Framework List c = _CommandEventHandlers[id]; for (int i = 0; i < c.Count; i++) { - c[i](cmd, new CommandEventArgs(cmd, namedParameters)); + c[i](this, new CommandEventArgs(cmd, namedParameters)); } return; }