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

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

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

            ACommand command = new BorderDecoratorCommand(figures, f);

            command.Execute();

            HandleAddCommand(command);
        }