예제 #1
0
 private void OnBack_Click()
 {
     if (printPreviewControl2.StartPage == 0)
     {
         return;
     }
     printPreviewControl2.StartPage--;
     SetPageNumText();
     ToolBarMain.Invalidate();
 }
예제 #2
0
 private void OnBack_Click()
 {
     if (printPreviewControl2.StartPage == 0)
     {
         return;
     }
     printPreviewControl2.StartPage--;
     ToolBarMain.Buttons["PageNum"].Text = (printPreviewControl2.StartPage + 1).ToString()
                                           + " / " + TotalPages.ToString();
     ToolBarMain.Invalidate();
 }