Parcourir la source

bug - viewer模块下点击签名域崩溃

sunhaonan il y a 11 mois
Parent
commit
42d6d63d88

+ 4 - 4
Demo/Examples/Compdfkit_Tools/Form/Property/SignatureProperty.xaml.cs

@@ -10,8 +10,8 @@ namespace Compdfkit_Tools.PDFControl
 {
     public partial class SignatureProperty : UserControl
     {
-        private ComboBoxParam widgetParam = null;
-        private CPDFComboBoxWidget cPDFAnnotation = null;
+        private SignatureParam widgetParam = null;
+        private CPDFSignatureWidget cPDFAnnotation = null;
         private PDFViewControl pdfViewerControl = null;
         private CPDFDocument cPDFDocument = null;
 
@@ -24,8 +24,8 @@ namespace Compdfkit_Tools.PDFControl
 
         public void SetProperty(AnnotParam annotParam, CPDFAnnotation annotation, CPDFDocument doc, PDFViewControl cPDFViewer)
         {
-            widgetParam = (ComboBoxParam)annotParam;
-            cPDFAnnotation = (CPDFComboBoxWidget)annotation;
+            widgetParam = (SignatureParam)annotParam;
+            cPDFAnnotation = (CPDFSignatureWidget)annotation;
             pdfViewerControl = cPDFViewer;
             cPDFDocument = doc;
         }