Example #1
0
 /// <summary>
 ///  Condition for printing when in compact mode.
 /// </summary>
 private bool PrintCondition(FamilyTreeNode ftn, bool includeNoFamily)
 {
     return(ftn != null && (includeNoFamily || ftn.HasAnyFamily));
 }
Example #2
0
 public void CreateMotherNode(Person mother)
 {
     Mother = new FamilyTreeNode(mother);
 }
Example #3
0
 public void CreateSpouseNode(Person spouse)
 {
     Spouse = new FamilyTreeNode(spouse);
 }
Example #4
0
 public void CreateFatherNode(Person father)
 {
     Father = new FamilyTreeNode(father);
 }