public AnchorData(NewDataSet.anchorRow theAnchorRow, NewDataSet projFile) { JumpTarget = theAnchorRow.jumpTarget; if (!theAnchorRow.IstoolTipNull()) { ToolTipText = theAnchorRow.toolTip; } ExegeticalHelpNotes = new ExegeticalHelpNotesData(theAnchorRow, projFile); }
public ExegeticalHelpNotesData(NewDataSet.anchorRow theAnchorRow, NewDataSet projFile) { NewDataSet.exegeticalHelpsRow[] theExHelpNotesRows = theAnchorRow.GetexegeticalHelpsRows(); NewDataSet.exegeticalHelpsRow theExHelpNotesRow; if (theExHelpNotesRows.Length == 0) { theExHelpNotesRow = projFile.exegeticalHelps.AddexegeticalHelpsRow(theAnchorRow); } else { theExHelpNotesRow = theExHelpNotesRows[0]; } foreach (NewDataSet.exegeticalHelpRow anExHelpNoteRow in theExHelpNotesRow.GetexegeticalHelpRows()) { Add(new ExegeticalHelpNoteData(anExHelpNoteRow)); } }