Ejemplo n.º 1
0
        private void NavigateBack(string s)
        {
            ForwardHistory.Push(CurrentDirectory);
            var previousDirectory = BackHistory.Pop();

            Navigate(previousDirectory.Path);
        }
Ejemplo n.º 2
0
 public void Back()
 {
     if (BackHistory.Count > 0)
     {
         Current.Dispose();
         ForwardHistory.Push(Current);
         Current = BackHistory.Pop();
         LoadPageControl();
     }
 }
Ejemplo n.º 3
0
        /// <inheritdoc/>
        public IDocument Back(bool useCache)
        {
            ForwardHistory.Push(History.Pop());
            if (useCache)
            {
                return(History.Last());
            }
            IDocument oldDocument = History.Pop();

            return(oldDocument);
        }