Added a new "Full Finalize Test" button to frmFinalizePDF, along with its event handler. The handler loads annotation data, document bytes, and related entities, logs detailed information about the envelope and signatures, and tests the PDF annotation burning process. The result is saved to the desktop and opened automatically. Also added necessary repository/entity imports for EF Core access. This feature aids in debugging and verifying the full PDF finalization workflow.
133 lines
4.7 KiB
VB.net
133 lines
4.7 KiB
VB.net
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
|
|
Partial Class frmFinalizePDF
|
|
Inherits System.Windows.Forms.Form
|
|
|
|
'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
|
|
<System.Diagnostics.DebuggerNonUserCode()>
|
|
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
|
Try
|
|
If disposing AndAlso components IsNot Nothing Then
|
|
components.Dispose()
|
|
End If
|
|
Finally
|
|
MyBase.Dispose(disposing)
|
|
End Try
|
|
End Sub
|
|
|
|
'Wird vom Windows Form-Designer benötigt.
|
|
Private components As System.ComponentModel.IContainer
|
|
|
|
'Hinweis: Die folgende Prozedur ist für den Windows Form-Designer erforderlich.
|
|
'Das Bearbeiten ist mit dem Windows Form-Designer möglich.
|
|
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
|
<System.Diagnostics.DebuggerStepThrough()>
|
|
Private Sub InitializeComponent()
|
|
Me.txtReceiver = New System.Windows.Forms.TextBox()
|
|
Me.Label1 = New System.Windows.Forms.Label()
|
|
Me.Label2 = New System.Windows.Forms.Label()
|
|
Me.Button1 = New System.Windows.Forms.Button()
|
|
Me.Button2 = New System.Windows.Forms.Button()
|
|
Me.Button3 = New System.Windows.Forms.Button()
|
|
Me.txtResult = New System.Windows.Forms.TextBox()
|
|
Me.txtEnvelope = New System.Windows.Forms.TextBox()
|
|
Me.SuspendLayout()
|
|
'
|
|
'txtReceiver
|
|
'
|
|
Me.txtReceiver.Location = New System.Drawing.Point(15, 65)
|
|
Me.txtReceiver.Name = "txtReceiver"
|
|
Me.txtReceiver.Size = New System.Drawing.Size(100, 20)
|
|
Me.txtReceiver.TabIndex = 0
|
|
|
|
'
|
|
'Label1
|
|
'
|
|
Me.Label1.AutoSize = True
|
|
Me.Label1.Location = New System.Drawing.Point(12, 9)
|
|
Me.Label1.Name = "Label1"
|
|
Me.Label1.Size = New System.Drawing.Size(61, 13)
|
|
Me.Label1.TabIndex = 1
|
|
Me.Label1.Text = "EnvelopeId"
|
|
'
|
|
'Label2
|
|
'
|
|
Me.Label2.AutoSize = True
|
|
Me.Label2.Location = New System.Drawing.Point(12, 46)
|
|
Me.Label2.Name = "Label2"
|
|
Me.Label2.Size = New System.Drawing.Size(59, 13)
|
|
Me.Label2.TabIndex = 1
|
|
Me.Label2.Text = "ReceiverId"
|
|
'
|
|
'Button1
|
|
'
|
|
Me.Button1.Location = New System.Drawing.Point(15, 102)
|
|
Me.Button1.Name = "Button1"
|
|
Me.Button1.Size = New System.Drawing.Size(166, 23)
|
|
Me.Button1.TabIndex = 2
|
|
Me.Button1.Text = "Write Annotations to PDF"
|
|
Me.Button1.UseVisualStyleBackColor = True
|
|
'
|
|
'Button2
|
|
'
|
|
Me.Button2.Location = New System.Drawing.Point(15, 131)
|
|
Me.Button2.Name = "Button2"
|
|
Me.Button2.Size = New System.Drawing.Size(166, 23)
|
|
Me.Button2.TabIndex = 3
|
|
Me.Button2.Text = "Merge Json"
|
|
Me.Button2.UseVisualStyleBackColor = True
|
|
'
|
|
'Button3
|
|
'
|
|
Me.Button3.Location = New System.Drawing.Point(15, 160)
|
|
Me.Button3.Name = "Button3"
|
|
Me.Button3.Size = New System.Drawing.Size(166, 23)
|
|
Me.Button3.TabIndex = 5
|
|
Me.Button3.Text = "Full Finalize Test"
|
|
Me.Button3.UseVisualStyleBackColor = True
|
|
'
|
|
'txtResult
|
|
'
|
|
Me.txtResult.Location = New System.Drawing.Point(333, 12)
|
|
Me.txtResult.Multiline = True
|
|
Me.txtResult.Name = "txtResult"
|
|
Me.txtResult.Size = New System.Drawing.Size(455, 426)
|
|
Me.txtResult.TabIndex = 4
|
|
'
|
|
'txtEnvelope
|
|
'
|
|
Me.txtEnvelope.Location = New System.Drawing.Point(15, 23)
|
|
Me.txtEnvelope.Name = "txtEnvelope"
|
|
Me.txtEnvelope.Size = New System.Drawing.Size(100, 20)
|
|
Me.txtEnvelope.TabIndex = 0
|
|
|
|
'
|
|
'frmFinalizePDF
|
|
'
|
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
|
Me.ClientSize = New System.Drawing.Size(800, 450)
|
|
Me.Controls.Add(Me.txtResult)
|
|
Me.Controls.Add(Me.Button3)
|
|
Me.Controls.Add(Me.Button2)
|
|
Me.Controls.Add(Me.Button1)
|
|
Me.Controls.Add(Me.Label2)
|
|
Me.Controls.Add(Me.Label1)
|
|
Me.Controls.Add(Me.txtEnvelope)
|
|
Me.Controls.Add(Me.txtReceiver)
|
|
Me.Name = "frmFinalizePDF"
|
|
Me.Text = "frmFinalizePDF"
|
|
Me.ResumeLayout(False)
|
|
Me.PerformLayout()
|
|
|
|
End Sub
|
|
|
|
Friend WithEvents txtReceiver As TextBox
|
|
Friend WithEvents txtEnvelope As TextBox
|
|
Friend WithEvents Label1 As Label
|
|
Friend WithEvents Label2 As Label
|
|
Friend WithEvents Button1 As Button
|
|
Friend WithEvents Button2 As Button
|
|
Friend WithEvents Button3 As Button
|
|
Friend WithEvents txtResult As TextBox
|
|
End Class
|