public void GoToLast() { if (IsReadingComic) { comicReader.GoToLast(); } }
private void btnGoToLast_Click(object sender, EventArgs e) { if (!comReader.IsLastPage()) { comReader.GoToLast(); picBxComicScreen.Image.Dispose(); picBxComicScreen.Image = comReader.GetCurrentPage(); lblPageNumber.Text = "Page " + comReader.GetPageCount().ToString() + " of " + comReader.GetPageCount().ToString(); } PageChanged(); }