private void AddNode(DocItem item, TreeNode parent) { if (item is DocFolder) AddFolderNode((DocFolder)item, parent); else if (item is DocFile) AddFileNode((DocFile)item, parent); }
internal void AddNode(DocItem item) { _items.Add(item); }