09-08-2023

This commit is contained in:
Jonathan Jenne
2023-08-09 11:57:43 +02:00
parent 73149e2101
commit 7c31ccee1c
5 changed files with 92 additions and 32 deletions

View File

@@ -95,10 +95,16 @@ Partial Public Class frmEnvelopeEditor
' Ensure all receivers are saved
ViewReceivers.CloseEditor()
Dim oReceivers = Receivers.ToList
If Controller.CreateEnvelopeReceivers(Receivers.ToList) = False Then
MsgBox("Fehler beim Speichern der Empfänger!", MsgBoxStyle.Critical, Text)
Return False
End If
Dim oEnvelope = Controller.Envelope
oEnvelope.Subject = oSubject
oEnvelope.Message = oMessage
oEnvelope.Receivers = Receivers.ToList
oEnvelope.Receivers = oReceivers
oEnvelope.Documents = Documents.ToList
Dim oErrors = oEnvelope.Validate()