Beispiel #1
0
 public ABibleVerse(BibleVersion bible, int verseIdx, Config config, Theme theme)
 {
     this.bible    = bible;
     this.verseIdx = verseIdx;
     this.config   = config;
     this.Theme    = theme;
     this.PreRenderFrames();
 }
Beispiel #2
0
 public ABibleVerse(BibleVersion bible, int verseIdx, Config config)
 {
     this.bible    = bible;
     this.verseIdx = verseIdx;
     this.config   = config;
     if (config != null)
     {
         this.Theme = config.theme.Bible;
     }
     this.PreRenderFrames();
 }
Beispiel #3
0
        public bool Add(BackgroundWorker worker, DoWorkEventArgs evArg, string version, System.Data.DataTable replacements)
        {
            BibleVersion b = new BibleVersion(worker, evArg, version, replacements);

            if (b.VerseCount > 0)
            {
                this.IsDirty = true;
                this.Remove(version);
                versions.Add(version, b);
                return(true);
            }
            return(false);
        }
Beispiel #4
0
 public ABibleVerse(BibleVersion bible, int verseIdx) : this(bible, verseIdx, null)
 {
 }
Beispiel #5
0
 public ABibleVerse(BibleVersion bible) : this(bible, 1)
 {
 }