private void NavigateBack(string s) { ForwardHistory.Push(CurrentDirectory); var previousDirectory = BackHistory.Pop(); Navigate(previousDirectory.Path); }
public void Back() { if (BackHistory.Count > 0) { Current.Dispose(); ForwardHistory.Push(Current); Current = BackHistory.Pop(); LoadPageControl(); } }
/// <inheritdoc/> public IDocument Back(bool useCache) { ForwardHistory.Push(History.Pop()); if (useCache) { return(History.Last()); } IDocument oldDocument = History.Pop(); return(oldDocument); }