Lets the user specify the page number to go to.
Inheritance: System.Windows.Forms.Form
Exemplo n.º 1
0
        private void GoToPage()
        {
            GoToPageForm form = new GoToPageForm();
            form.MaxPageNumber = mDocument.PageCount;

            if (form.ShowDialog().Equals(DialogResult.OK))
            {
                mPageNumber = form.PageNumber;
                UpdatePage();
            }
        }
Exemplo n.º 2
0
		private void GoToPage()
		{
			GoToPageForm form = new GoToPageForm();
            form.MaxPageNumber = mDocument.PageCount;

			if (form.ShowDialog().Equals(DialogResult.OK))
            {
                mPageNumber = form.PageNumber;
				UpdatePage();
            }
		}