Beispiel #1
0
 public TestQuestionsData(TestQuestionsData rhs)
 {
     foreach (TestQuestionData aTQ in rhs)
     {
         Add(new TestQuestionData(aTQ));
     }
 }
Beispiel #2
0
 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));
     }
 }
Beispiel #3
0
        protected void AddRemoveTestQuestionsAndAnswersSubmenus(TestQuestionsData theTQs)
        {
            ToolStripMenuItem tsm = AddHeadSubmenu("Testing Question(s)");
            int nIndex            = 0;

            foreach (TestQuestionData aTQ in theTQs)
            {
                AddRemTQSubmenu(tsm, aTQ, nIndex++);
            }
        }
Beispiel #4
0
 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();
 }
Beispiel #5
0
        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);
        }
Beispiel #6
0
        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);
        }