예제 #1
0
        private void fileExplorerTreeView_BeforeExpand(object sender, TreeViewCancelEventArgs e)
        {
            Form1 form = (Form1)ParentForm;

            fileExplorerTreeView.SelectedNode = e.Node;
            FileExplorerManager.LoadDirectory(form, e.Node, false);
        }
예제 #2
0
        private void refreshToolStripButton_Click(object sender, EventArgs e)
        {
            Form1 form = (Form1)ParentForm;

            if (fileExplorerTreeView.SelectedNode != null)
            {
                FileExplorerManager.LoadDirectory(form, fileExplorerTreeView.SelectedNode, true);
                pathTextBox.Text = fileExplorerTreeView.SelectedNode.ToolTipText;
                pathTextBox.Select(pathTextBox.Text.Length, 0);
            }
            else
            {
                FileExplorerManager.LoadFileTree(form, true);
            }
        }
예제 #3
0
        private void refreshToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form1 form = (Form1)ParentForm;

            FileExplorerManager.LoadDirectory(form, fileExplorerTreeView.SelectedNode, true);
        }