Пример #1
0
 public void CopyProperties(FamilyModel copyModel)
 {
     PersonSettings = new PersonSettings();
     PersonSettings.CopyProperties(copyModel.PersonSettings);
     RelationshipSettings = new RelationshipSettings();
     RelationshipSettings.CopyProperties(copyModel.RelationshipSettings);
     Tree = new Tree();
     Tree.CopyProperties(copyModel.Tree);
     Members = new ObservableCollection<PersonModel>() { };
     Members = copyModel.Members;
     Relationships = new ObservableCollection<RelationshipModel>() { };
     Relationships = copyModel.Relationships;
 }
Пример #2
0
 Settings()
 {
     Person = new PersonSettings();
     Relationship = new RelationshipSettings();
 }