private void UpwardNavigation(ExplorerBrowser eb) { string path = eb.NavigationLog.CurrentLocation.ParsingName; if (System.IO.Directory.Exists(path)) { var parent = System.IO.Directory.GetParent(path); if (parent != null) { eb.Navigate(ShellObject.FromParsingName(parent.FullName)); } } else { eb.NavigateLogLocation(NavigationLogDirection.Backward); } }
private void leftNavBut_Click(object sender, RoutedEventArgs e) { Explorer.NavigateLogLocation(NavigationLogDirection.Backward); }