public void ListDirectory(TreeView treeView, String path) { treeView1.Nodes.Clear(); var rootDirectory = new DirectoryInfo(path); treeView1.Nodes.Add(BedRock.CreateDirectoryNode(rootDirectory)); }
private void FileTagForm_Load(object sender, EventArgs e) { displayTags(tagList); ListDirectory(treeView1, BedRock.GetRootDirectoryPath()); displayFolders(); }