private void NavigateForward(string s) { BackHistory.Push(CurrentDirectory); var nextDirectory = ForwardHistory.Pop(); Navigate(nextDirectory.Path); }
public Task GoForwardAsync() { Page page = ForwardHistory.Pop(); BackHistory.Push(page); return(NavigateAsync(page)); }
public void Forward() { if (ForwardHistory.Count > 0) { Current.Dispose(); BackHistory.Push(Current); Current = ForwardHistory.Pop(); LoadPageControl(); } }