示例#1
0
        //Perform the redo!
        public void Redo(Spreadsheet sheet)
        {
            UndoRedoCollection commands = redoStack.Pop();

            //add the redo back onto the undo stack
            undoStack.Push(commands.Restore(sheet));
        }
示例#2
0
        // ops  redo action and does it
        public void Redo(Spreadsheet sheet)
        {
            UndoRedoCollection action = mRedos.Pop();

            mUndos.Push(action.Restore(sheet));
        }
示例#3
0
        /// <summary>
        /// Execute the redo right here,
        /// </summary>
        /// <param name="sheet"></param>
        public void Redo(Spreadsheet sheet)
        {
            UndoRedoCollection commands = redoStack.Pop();

            undoStack.Push(commands.Restore(sheet));
        }