Exemplo n.º 1
0
		public GedcomFamilyEvent AddNewEvent(GedcomEvent.GedcomEventType type)
		{
			GedcomFamilyEvent familyEvent = new GedcomFamilyEvent();
			familyEvent.EventType = type;
			familyEvent.Level = Level + 1;
			familyEvent.FamRecord = this;
					
			Events.Add(familyEvent);	
			
			return familyEvent;
		}
Exemplo n.º 2
0
		protected void SetMarriageView(GedcomIndividualRecord indi, GedcomFamilyEvent marriage)
		{			
			if (marriage != null)
			{
				MarriageView.Record = marriage.FamRecord;
			}
			else
			{
				MarriageView.Record = null;
			}
		}