コード例 #1
0
        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);
            }
        }
コード例 #2
0
 private void leftNavBut_Click(object sender, RoutedEventArgs e)
 {
     Explorer.NavigateLogLocation(NavigationLogDirection.Backward);
 }