Ejemplo n.º 1
0
 private void FindChildrens(TreeLeaf _Parrent)
 {
     foreach (ObjectType _Data in DataHub.lData)
     {
         if (_Data.ParrentName == _Parrent.oObjectType.Name)
         {
             _Parrent.Childrens.Add(new TreeLeaf());
             _Parrent.Childrens.Last().oObjectType = _Data;
             FindChildrens(_Parrent.Childrens.Last());
         }
     }
 }
Ejemplo n.º 2
0
 public Tree()
 {
     oRoot = new TreeLeaf();
 }