public TestQuestionsData(TestQuestionsData rhs) { foreach (TestQuestionData aTQ in rhs) { Add(new TestQuestionData(aTQ)); } }
protected void InitTestingQuestions(StoryEditor theSE, TestQuestionsData aTQsData, int nLayoutRow) { for (int i = 0; i < aTQsData.Count; i++) { InitTestQuestion(theSE, i, aTQsData[i], nLayoutRow, (i == 0)); } }
protected void AddRemoveTestQuestionsAndAnswersSubmenus(TestQuestionsData theTQs) { ToolStripMenuItem tsm = AddHeadSubmenu("Testing Question(s)"); int nIndex = 0; foreach (TestQuestionData aTQ in theTQs) { AddRemTQSubmenu(tsm, aTQ, nIndex++); } }
public VerseData() { guid = Guid.NewGuid().ToString(); VernacularText = new StringTransfer(null); NationalBTText = new StringTransfer(null); InternationalBTText = new StringTransfer(null); Anchors = new AnchorsData(); TestQuestions = new TestQuestionsData(); Retellings = new RetellingsData(); ConsultantNotes = new ConsultantNotesData(); CoachNotes = new CoachNotesData(); }
public VerseData(VerseData rhs) { // the guid shouldn't be replicated guid = Guid.NewGuid().ToString(); // rhs.guid; IsFirstVerse = rhs.IsFirstVerse; IsVisible = rhs.IsVisible; VernacularText = new StringTransfer(rhs.VernacularText.ToString()); NationalBTText = new StringTransfer(rhs.NationalBTText.ToString()); InternationalBTText = new StringTransfer(rhs.InternationalBTText.ToString()); Anchors = new AnchorsData(rhs.Anchors); TestQuestions = new TestQuestionsData(rhs.TestQuestions); Retellings = new RetellingsData(rhs.Retellings); ConsultantNotes = new ConsultantNotesData(rhs.ConsultantNotes); CoachNotes = new CoachNotesData(rhs.CoachNotes); }
public VerseData(NewDataSet.verseRow theVerseRow, NewDataSet projFile) { guid = theVerseRow.guid; if (!theVerseRow.IsfirstNull()) { IsFirstVerse = theVerseRow.first; } if (!theVerseRow.IsvisibleNull()) { IsVisible = theVerseRow.visible; } VernacularText = new StringTransfer((!theVerseRow.IsVernacularNull()) ? theVerseRow.Vernacular : null); NationalBTText = new StringTransfer((!theVerseRow.IsNationalBTNull()) ? theVerseRow.NationalBT : null); InternationalBTText = new StringTransfer((!theVerseRow.IsInternationalBTNull()) ? theVerseRow.InternationalBT : null); Anchors = new AnchorsData(theVerseRow, projFile); TestQuestions = new TestQuestionsData(theVerseRow, projFile); Retellings = new RetellingsData(theVerseRow, projFile); ConsultantNotes = new ConsultantNotesData(theVerseRow, projFile); CoachNotes = new CoachNotesData(theVerseRow, projFile); }