Beispiel #1
0
 public void InsertPdf(string pdfFilePath)
 {
     PdfFilePathList.Insert(txtPageMain.IntValue.Value, pdfFilePath);
     txtPageMain.Text = (txtPageMain.IntValue.Value + 1).ToString();
     SetNumberOfPages();
     DisplayPdf();
 }
Beispiel #2
0
 public void DeletePdf()
 {
     PdfFilePathList.RemoveAt(GetMainPageIndex);
     SetNumberOfPages();
     DisplayPdf();
 }
Beispiel #3
0
 private void SetNumberOfPages()
 {
     lblNumberOfPages.Text = PdfFilePathList.Count().ToString();
 }