Ejemplo n.º 1
0
        private void buttonForward_Click(object sender, RoutedEventArgs e)
        {
            string path = ManagerDirectories.GetNode(false);

            if (path != null)
            {
                Display(path, null);
            }
        }
Ejemplo n.º 2
0
        private void treeFolderItem_MouseDown(object sender, MouseButtonEventArgs e)
        {
            if (treeFolder.SelectedItem == null)
            {
                return;
            }
            var node = (TreeNode)treeFolder.SelectedItem;

            Display(node.Path, null);
            ManagerDirectories.AddNode(((TreeNode)treeFolder.SelectedItem).Path);
            RefreshDirStackPanel(node.Path);
            RefreshStackPanelInfo(node.Path);
        }
Ejemplo n.º 3
0
 private void treeFolder_SelectedItemChanged(object sender, RoutedPropertyChangedEventArgs <object> e)
 {
     try
     {
         if (treeFolder.SelectedItem == null)
         {
             return;
         }
         var node = (TreeNode)treeFolder.SelectedItem;
         Display(node.Path, null);
         ManagerDirectories.AddNode(((TreeNode)treeFolder.SelectedItem).Path);
         RefreshDirStackPanel(node.Path);
         RefreshStackPanelInfo(node.Path);
     }
     catch
     {
         Display("D:\\", null);
         //RefreshDirStackPanel("D:\\");
     }
 }