sender should be this, not cmd (that's why you should use CommandEventArgs.Command)

This commit is contained in:
Michael Becker 2021-05-22 02:17:13 -04:00
parent 14b647f6fa
commit 43fc5b7a67
No known key found for this signature in database
GPG Key ID: 98C333A81F18C22C

View File

@ -163,7 +163,7 @@ namespace MBS.Framework
List<EventHandler> 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;
}