public void ResetResourcesCollectionNodes()
        {
            TreeViewObjectExplorer tv = TreeView as TreeViewObjectExplorer;

            for (int i = 0; i < Nodes.Count; i++)
            {
                TreeNodeResourceCollection tnc = Nodes[i] as TreeNodeResourceCollection;
                if (tnc != null)
                {
                    tnc.ResetNextLevel(tv);
                }
            }
        }
            public override void LoadNextLevel(TreeViewObjectExplorer tv, TreeNodeObject parentNode)
            {
                TreeNodeResourceCollection tc = (TreeNodeResourceCollection)parentNode;

                tc.OnLoadNextLevel();
            }
 public void LoadData(ProjectResources rm)
 {
     _resman = rm;
     TreeNodeResourceCollection.AddResourceCollections(_resman, treeView1.Nodes, true);
 }