private void AddBaseTier() { var nodes = new List <INode>(); nodes.AddRange(fsQuery.GetDescendantNodes("C:\\users\\andrew\\desktop\\folder\\", "*.*")); //Node node = new Node("Home","The Home Directory","Whoaa Description","C:\\users\\andrew\\", defaultNodeTheme, new Font("Arial",10),null, true,true); // nodes.Add(node); var OriginNodeTier = new NodeTier(nodes, 0); NodeTiers.Add(OriginNodeTier); }
public INode[] GenererateChildren(FileSystemQuery fsQuery, string filter, NodeTheme _defaultNodeTheme, Font _defaultFont) { return(fsQuery.GetDescendantNodes(this, filter).ToArray()); }