浏览代码

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

sunhaonan 11 月之前
父节点
当前提交
42d6d63d88
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      Demo/Examples/Compdfkit_Tools/Form/Property/SignatureProperty.xaml.cs

+ 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;
         }