public void ViewNextPage(Language language) { if (PageNr >= pageList.Count) { return; } PresentPage = pageList[PageNr]; PageNr++; }
public bool ViewPreviousPage() { if (PageNr >= 2) { PageNr -= 2; PresentPage = pageList[PageNr]; PageNr++; return(true); } return(false); }
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); }