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