示例#1
0
 private void Window_Closed(object sender, EventArgs e)
 {
     //WinHookerHelper.ReleaseSpecialKeyboardHook();
     pdfReader.ClosePDF();
     pdfReader.CleanTempFiles();
     Application.Current.Shutdown();
 }
 public void ClosePDF()
 {
     if (pdfViewer != null)
     {
         pdfViewer.ClosePDF();
         pdfViewer.CleanTempFiles();
     }
     CleanTempFile(currentPDF);
 }