Zollstopp, Anhänge Atilla, div.

This commit is contained in:
2025-01-09 10:49:50 +01:00
parent dc06b1c3d9
commit 9dc0c1fca3
11 changed files with 186 additions and 83 deletions

View File

@@ -19,14 +19,15 @@
rtbZollstop.Text = SND.getNCTSAdress()
End Sub
Private Sub btnOffnen_Click(sender As Object, e As EventArgs) Handles btnOffnen.Click
Private Sub btnOffnen_Click(sender As Object, e As EventArgs) Handles btnOffnen.Click, Button1.Click
Me.Cursor = Cursors.WaitCursor
Try
Dim path = SDL.FormularManagerNEU.Zollstopp(rtbZollstop.Text, rtbEntladestelle.Text, rtbKommentare.Text, rtbAbsender.Text, rtbATANr.Text)
If path <> "" Then
Process.Start(path)
End If
If sender Is btnOffnen Then Process.Start(path)
If sender Is Button1 Then VERAG_PROG_ALLGEMEIN.cFormularManager.PrintViaSpirePDF({path})
End If
Catch ex As Exception
MsgBox(ex.Message & ex.StackTrace)