Example #1
0
        public void ViewNextPage(Language language)
        {
            if (PageNr >= pageList.Count)
            {
                return;
            }

            PresentPage = pageList[PageNr];
            PageNr++;
        }
Example #2
0
        public bool ViewPreviousPage()
        {
            if (PageNr >= 2)
            {
                PageNr     -= 2;
                PresentPage = pageList[PageNr];
                PageNr++;
                return(true);
            }

            return(false);
        }
Example #3
0
        public AChildsPrayerPage CreatePage(string text, string emoji, string imageDescription, string placeholder, int pageNr, int nrOfEmoji)
        {
            var page = new AChildsPrayerPage();

            page.Text             = text;
            page.Emoji            = emoji;
            page.NrOfEmoji        = nrOfEmoji;
            page.ImageDescription = imageDescription;
            page.Palceholder      = placeholder;
            page.PageNr           = pageNr;
            return(page);
        }