public void Tree(string path)
 {
     root = new FileSystemNode();
     root.SetName(path);
     root.SetPath(path);
     root.Tree();
     tree.Items.Add(root);
 }
Exemple #2
0
        public void AddChild(string newName, string newPath)
        {
            FileSystemNode add = new FileSystemNode();

            add.SetName(newName);
            add.SetPath(newPath);
            add.Expanded += OnExpand;
            Items.Add(add);
        }