示例#1
0
 public void ExecuteCommand(OrderCommand command, MenuItem item)
 {
     command.Execute(this.items, item);
 }
示例#2
0
 public void SetCommand(int option)
 {
     orderCommand = new CommandFactory().GetCommand(option);
 }