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