Ejemplo n.º 1
0
 private void sister(navPoint s)
 {
     s.PARENT = this.parent;
     if (this.parent.CHILD == null)
     {
         this.parent.CHILD = new List <navPoint>();
     }
     this.parent.CHILD.Add(s);
 }
Ejemplo n.º 2
0
 public navPoint()
 {
     this.id        = "";
     this.playOrder = 0;
     this.text      = "";
     this.src       = "";
     this.parent    = null;
     this.child     = new List <navPoint>();
 }
Ejemplo n.º 3
0
 public navPoint(String id, int playOrder, String text, String src, navPoint parent, List <navPoint> child)
 {
     this.id        = id;
     this.playOrder = playOrder;
     this.text      = text;
     this.src       = src;
     this.parent    = parent;
     if (child == null)
     {
         this.child = new List <navPoint>();
     }
     else
     {
         this.child = child;
     }
 }