|
@@ -343,7 +343,6 @@ namespace Compdfkit_Tools.PDFControl
|
|
|
};
|
|
|
dialog.ViewCertificateEvent -= ViewCertificateEvent;
|
|
|
dialog.ViewCertificateEvent += ViewCertificateEvent;
|
|
|
- e.VerifySignatureWithDocument(PDFViewControl.PDFView.Document);
|
|
|
dialog.InitWithSignature(e);
|
|
|
dialog.ShowDialog();
|
|
|
}
|
|
@@ -373,10 +372,11 @@ namespace Compdfkit_Tools.PDFControl
|
|
|
DeleteMenu.Click += (o, args) =>
|
|
|
{
|
|
|
var widget = sign.GetSignatureWidget(PDFViewControl.PDFView.Document);
|
|
|
+ int index = e.Sign.Page.PageIndex;
|
|
|
PDFViewControl.PDFView.Document.RemoveSignature(sign, true);
|
|
|
SignatureStatusChanged?.Invoke(this, null);
|
|
|
- widget.ResetForm();
|
|
|
- PDFViewControl.PDFView.ReloadDocument();
|
|
|
+
|
|
|
+ bool res = widget.ResetForm();
|
|
|
};
|
|
|
e.PopupMenu.Items.Add(DeleteMenu);
|
|
|
}
|