Ejemplo n.º 1
0
 public void Tree(string path)
 {
     root = new FileSystemNode();
     root.SetName(path);
     root.SetPath(path);
     root.Tree();
     tree.Items.Add(root);
 }
Ejemplo n.º 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);
        }