public void Redo(object sender) { if (Rollbacked.Count != 0) { IAction action = Rollbacked.Pop(); action.Execute(sender); Executed.Push(action); OnExecute(this, new EventArgs()); } }