public void OnCommandClick(string cmdId) { if (CommandInstances.ContainsKey(cmdId)) { _startup.CommandExcute(CommandInstances[cmdId], cmdId); } }