public FPTreeNode(FPTreeTableRecordItem item, FPTreeNode parent)
 {
     Item = item;
     Parent = parent;
     Children = new List<FPTreeNode>();
 }
 public void Add(FPTreeTableRecordItem item)
 {
     if (Items != null) { Items.Add(item); }
     else { throw new Exception("Error adding FPTreeTableRecordItem: Record is not itiated"); }
 }
 public FPTreeNode()
 {
     Item = null;
     Parent = null;
     Children = new List<FPTreeNode>();
 }
 public void AddChild(FPTreeTableRecordItem item)
 {
     this.Children.Add(new FPTreeNode(item, this));
 }