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