Пример #1
0
 public TreeFrame <V> SetChild(TreeFrame <V> childTn)
 {
     try
     {
         childTn.Parent = this;
         return(childTn);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #2
0
 public TreeFrame <V> RmvChild(TreeFrame <V> childTn)
 {
     try
     {
         if (childTn == null)
         {
             return(null);
         }
         else
         {
             childTn.Parent = null;
             return(childTn);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }