/// <summary> /// 触发 Command /// </summary> public void FireCommand(string cmd, EventArgs args = null) { for (int i = 0; i < commandList.Count; i++) { BaseCommand command = commandList[i]; command.FireCommand(cmd, args); } }