ShowPage() public method

public ShowPage ( int pageNumber ) : void
pageNumber int
return void
Example #1
0
 private void tbPageNumber_TextChanged(object sender, EventArgs e)
 {
     try
     {
         if (tbPageNumber.Text.Length > 0)
         {
             _viewer.ShowPage(int.Parse(tbPageNumber.Text));
         }
     }
     catch (Exception ex) { }
 }
Example #2
0
 private void tbPageNumber_TextChanged(object sender, EventArgs e)
 {
     try
     {
         if (!_supressPageNumberChangeEvent)
         {
             if (tbPageNumber.Text.Length > 0)
             {
                 _stdOut.AppendLine("@GSNET_VIEWER -> COMMAND -> SHOW PAGE " + tbPageNumber.Text);
                 _viewer.ShowPage(int.Parse(tbPageNumber.Text));
             }
         }
     }
     catch { }
 }