Beispiel #1
0
 private void ViewPage()
 {
     vScrollBar1.Maximum = Data.OriginalImages[Annotator.pageIndex].Height - panel1.Height;
     //txtPage.Text = $"{Annotator.pageIndex + 1} of {Data.pageCount}";
     Annotator.pbPage.Location = new Point(0, 0);
     vScrollBar1.Value         = 0;
     Annotator.ticks.Clear();
     if (Annotator.pages[Annotator.pageIndex].tick != null)
     {
         Annotator.ticks.AddRange(Annotator.pages[Annotator.pageIndex].tick);
     }
     Annotator.Draw();
 }