Beispiel #1
0
 /// <summary>
 /// Initializes the tree vew.
 /// </summary>
 public void InitOPMShellTreeView()
 {
     InitImageList();
     ShellOperations.PopulateTree(this, base.ImageList, ShowSpecialFolders);
     this.SelectedNode = null;
 }
Beispiel #2
0
 public TreeNode CreateTreeNode(string dir, bool getIcons = true)
 {
     return(ShellOperations.CreateTreeNode(dir, base.ImageList, getIcons));
 }
Beispiel #3
0
 private void TreeViewBeforeExpand(object sender, System.Windows.Forms.TreeViewCancelEventArgs e)
 {
     this.BeginUpdate();
     ShellOperations.ExpandBranch(e.Node, this.ImageList);
     this.EndUpdate();
 }