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