public void AddFigure(IFigure f) { ACommand command = new AddFigureCommand(figures, f); command.Execute(); HandleAddCommand(command); }