コード例 #1
0
 public void ReadTopicalPassage(Topic topic)
 {
     m_Preaching = true;
     Say("A Word from the Lord concerning {0}:", TopicReader.GetTopicName(topic));
     m_Timer = new RecitalTimer(this, BibleReader.GetRandomTopicVerses(topic));
     m_Timer.Start();
     m_NextPreach = DateTime.Now + PreachDelay;
 }
コード例 #2
0
 public void ReadPassage()
 {
     m_Preaching = true;
     Say("Hear the Word of the Lord:");
     m_Timer = new RecitalTimer(this, BibleReader.GetVerses(m_Book, m_Chapter, m_FirstVerse, m_LastVerse));
     m_Timer.Start();
     m_NextPreach = DateTime.Now + PreachDelay;
 }
コード例 #3
0
        public void ReadTopicalPassage()
        {
            Topic readTopic = BibleTopic;

            m_Preaching = true;
            if (m_Random)
            {
                Array  values = Enum.GetValues(typeof(Topic));
                Random random = new Random();
                readTopic = (Topic)values.GetValue(random.Next(values.Length));
            }
            Say("How about this topic - {0}:", TopicReader.GetTopicName(readTopic));
            m_Timer = new RecitalTimer(this, BibleReader.GetRandomTopicVerses(readTopic));
            m_Timer.Start();
            m_NextPreach = DateTime.Now + PreachDelay;
        }
コード例 #4
0
		public void ReadPassage()
		{
			m_Preaching = true;
			Say("Hear the Word of the Lord:");
			m_Timer = new RecitalTimer( this, BibleReader.GetVerses( m_Book, m_Chapter, m_FirstVerse, m_LastVerse ) );
			m_Timer.Start();
			m_NextPreach = DateTime.Now + PreachDelay;
		}
コード例 #5
0
		public void ReadTopicalPassage( Topic topic )
		{
			m_Preaching = true;
			Say( "A Word from the Lord concerning {0}:", TopicReader.GetTopicName( topic ) );
			m_Timer = new RecitalTimer( this, BibleReader.GetRandomTopicVerses( topic ) );
			m_Timer.Start();
			m_NextPreach = DateTime.Now + PreachDelay;
		}