zugferdtest: fix test form
This commit is contained in:
parent
36326ba644
commit
374b1961e2
@ -126,10 +126,11 @@ Public Class Form1
|
|||||||
Dim oArgs As New WorkerArgs()
|
Dim oArgs As New WorkerArgs()
|
||||||
oArgs = LoadPropertyMapFor(oArgs)
|
oArgs = LoadPropertyMapFor(oArgs)
|
||||||
|
|
||||||
|
Try
|
||||||
If oDialogResult = DialogResult.OK Then
|
If oDialogResult = DialogResult.OK Then
|
||||||
Dim oDoc = _zugferd.ValidateZUGFeRDFileWithGDPicture(OpenFileDialog1.FileName)
|
Dim oDoc = _zugferd.ValidateZUGFeRDFileWithGDPicture(OpenFileDialog1.FileName)
|
||||||
Dim oResult = _zugferd.SerializeZUGFeRDDocument(oDoc)
|
Dim oResult = _zugferd.ValidateZUGFeRDDocument(oDoc)
|
||||||
oResult = _zugferd.ValidateZUGFeRDDocument(oResult)
|
oResult = _zugferd.SerializeZUGFeRDDocument(oDoc)
|
||||||
|
|
||||||
WriteLog("Specification: " & oResult.Specification)
|
WriteLog("Specification: " & oResult.Specification)
|
||||||
WriteLog("Embedded File Name: " & oResult.DataFileName)
|
WriteLog("Embedded File Name: " & oResult.DataFileName)
|
||||||
@ -158,6 +159,10 @@ Public Class Form1
|
|||||||
|
|
||||||
WriteLog("--------------------------------")
|
WriteLog("--------------------------------")
|
||||||
End If
|
End If
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox(ex.Message)
|
||||||
|
End Try
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
|
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user