sender should be this, not cmd (that's why you should use CommandEventArgs.Command)
This commit is contained in:
parent
14b647f6fa
commit
43fc5b7a67
@ -163,7 +163,7 @@ namespace MBS.Framework
|
|||||||
List<EventHandler> c = _CommandEventHandlers[id];
|
List<EventHandler> c = _CommandEventHandlers[id];
|
||||||
for (int i = 0; i < c.Count; i++)
|
for (int i = 0; i < c.Count; i++)
|
||||||
{
|
{
|
||||||
c[i](cmd, new CommandEventArgs(cmd, namedParameters));
|
c[i](this, new CommandEventArgs(cmd, namedParameters));
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user