예제 #1
0
        internal void DecorateWithBorder(int ind)
        {
            IFigure f = figures.Get(ind);

            ACommand command = new BorderDecoratorCommand(figures, f);
            command.Execute();

            HandleAddCommand(command);
        }
예제 #2
0
        internal void DecorateWithBorder(int ind)
        {
            IFigure f = figures.Get(ind);

            ACommand command = new BorderDecoratorCommand(figures, f);

            command.Execute();

            HandleAddCommand(command);
        }