Ejemplo n.º 1
0
 public Tree CopyReferenclyTree(AddToTree.Tree Exsit)
 {
     if (Exsit == null)
     {
         return(null);
     }
     AddToTree.Tree Current = new AddToTree.Tree(null, false);
     try
     {
         Current.SampleAccess = Exsit.SampleAccess;
         Current.SetLefTandRightReferencelySide(Exsit.LeftSideAccess, Exsit.RightSideAccess);
         //ERRORCORECTION091824098.refer to page 177.
         //ERRORCORECTION9812738 :Refet  top age 190.
         Current.LeftSideAccess.ThreadAccess  = Current;
         Current.RightSideAccess.ThreadAccess = Current;
         //Current.NodeNumber = Exsit.NodeNumber;
     }
     catch (NullReferenceException t)
     { Formulas.ExceptionClass.ExceptionClassMethod(t); }
     return(Current);
 }