示例#1
0
        private void NavigateForward(string s)
        {
            BackHistory.Push(CurrentDirectory);
            var nextDirectory = ForwardHistory.Pop();

            Navigate(nextDirectory.Path);
        }
示例#2
0
        public Task GoForwardAsync()
        {
            Page page = ForwardHistory.Pop();

            BackHistory.Push(page);
            return(NavigateAsync(page));
        }
示例#3
0
 public void Forward()
 {
     if (ForwardHistory.Count > 0)
     {
         Current.Dispose();
         BackHistory.Push(Current);
         Current = ForwardHistory.Pop();
         LoadPageControl();
     }
 }