public void addRootAndRename(FiledropsDirectory dir, SolutionInfo si) { FolderTreeNode node = new SolutionRootNode(Manager, si, dir, showExtBinding); this.RootDirectories.Add(node.Entry); this.buildFolderRoot(node); this.Items.Add(node); node.RenameNode(); }
public FolderTreeNode addRoot(FiledropsDirectory dir, SolutionInfo si) { FolderTreeNode node = new SolutionRootNode(Manager, si, dir, showExtBinding); this.RootDirectories.Add(node.Entry); this.buildFolderRoot(node); if (ShowRoot) { this.Items.Add(node); } return node; }