|
@@ -75,7 +75,8 @@ namespace Compdfkit_Tools.PDFControl
|
|
|
{
|
|
|
if (this.pdfViewerControl != null)
|
|
|
{
|
|
|
- pdfViewerControl.PDFToolManager.MouseLeftButtonDownHandler += PDFToolManager_MouseLeftButtonDownHandler; ;
|
|
|
+ pdfViewerControl.PDFToolManager.MouseLeftButtonDownHandler -= PDFToolManager_MouseLeftButtonDownHandler;
|
|
|
+ pdfViewerControl.PDFToolManager.MouseLeftButtonDownHandler += PDFToolManager_MouseLeftButtonDownHandler;
|
|
|
//this.pdfViewerControl.AnnotActiveHandler += PDFViewer_AnnotActiveHandler;
|
|
|
//this.pdfViewerControl.AnnotEditHandler -= PdfViewer_AnnotEditHandler;
|
|
|
//this.pdfViewerControl.AnnotEditHandler += PdfViewer_AnnotEditHandler;
|
|
@@ -126,7 +127,7 @@ namespace Compdfkit_Tools.PDFControl
|
|
|
if (this.pdfViewerControl != null)
|
|
|
{
|
|
|
//this.pdfViewerControl.AnnotActiveHandler -= PDFViewer_AnnotActiveHandler;
|
|
|
-
|
|
|
+ pdfViewerControl.PDFToolManager.MouseLeftButtonDownHandler -= PDFToolManager_MouseLeftButtonDownHandler;
|
|
|
}
|
|
|
}
|
|
|
|