예제 #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);
 }