public TreeList.Node AddChild(TreeList.Node child)
 {
     child._parentId = this.ID;
     child._parent   = this;
     this._children.Add(child);
     return(child);
 }
 public Node()
 {
     this._id       = "";
     this._text     = "";
     this._parentId = "";
     this._check    = false;
     this._enable   = true;
     this._expand   = false;
     this._parent   = null;
     this._children = null;
 }
 public Node(string id, string text)
 {
     this._id       = "";
     this._text     = "";
     this._parentId = "";
     this._check    = false;
     this._enable   = true;
     this._expand   = false;
     this._parent   = null;
     this._children = null;
     this._id       = id;
     this._text     = text;
     this._children = new List <TreeList.Node>();
 }