public void ComedianTree(RadTreeView radtree, string rootDir = "S:\\", bool NewThread = true)
        {
            _AHK        ahk = new _AHK();
            _Lists      lst = new _Lists();
            _TelerikLib tel = new _TelerikLib();

            _TelerikLib.RadTree tree = new _TelerikLib.RadTree();

            if (NewThread)
            {
                Thread imdbTVParseThread = new Thread(() => ComedianTree(radtree, rootDir, false));
                imdbTVParseThread.Start();
            }
            else
            {
                //string rootDir = "S:\\";

                List <string> Comedians = lst.DirList(rootDir, "*.*", false, false);

                Comedians = lst.SortList(Comedians); // alpha sort list

                foreach (string com in Comedians)
                {
                    string first = ahk.FirstCharacters(com, 1); if (first == "_")
                    {
                        continue;
                    }                                                                             // skip folders starting with "_"

                    // add node for comedian
                    RadTreeNode comNode = new RadTreeNode();
                    comNode.Text = com; comNode.Tag = rootDir + "\\" + com;
                    //radtree.Nodes.Add(comNode);
                    tree.AddNode(radtree, comNode);

                    // list of shows under comedian dir
                    List <string> shows = lst.DirList(rootDir + "\\" + com, "*.*", false, false);

                    shows = lst.SortList(shows); // alpha sort list

                    foreach (string show in shows)
                    {
                        RadTreeNode showNode = new RadTreeNode();
                        showNode.Text = show; showNode.Tag = rootDir + "\\" + com + "\\" + show;
                        //comNode.Nodes.Add(showNode);
                        tree.AddSubNode(comNode, showNode, radtree);
                    }
                }
            }
        }
 public static void AddSubNode(this RadTreeNode existingNode, RadTreeNode newNode)
 {
     sharpAHK_Dev._TelerikLib.RadTree tree = new _TelerikLib.RadTree();
     tree.AddSubNode(existingNode, newNode);
 }