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

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

            return(false);
        }
Exemple #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);
        }