ReceiverVM Vereinheitlichung
This commit is contained in:
@@ -129,17 +129,17 @@ Public Class frmMain
|
||||
End Sub
|
||||
|
||||
Private Sub btnCreateEnvelope_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles btnCreateEnvelope.ItemClick
|
||||
Dim oHandle = SplashScreenManager.ShowOverlayForm(Me)
|
||||
Try
|
||||
Dim oForm As New frmEnvelopeEditor() With {.State = State}
|
||||
'Dim oHandle = SplashScreenManager.ShowOverlayForm(Me)
|
||||
'Try
|
||||
Dim oForm As New frmEnvelopeEditor() With {.State = State}
|
||||
oForm.ShowDialog()
|
||||
LoadEnvelopeData()
|
||||
|
||||
Catch ex As Exception
|
||||
Logger.Error(ex)
|
||||
Finally
|
||||
SplashScreenManager.CloseOverlayForm(oHandle)
|
||||
End Try
|
||||
' Catch ex As Exception
|
||||
'Logger.Error(ex)
|
||||
'Finally
|
||||
'SplashScreenManager.CloseOverlayForm(oHandle)
|
||||
'End Try
|
||||
End Sub
|
||||
|
||||
Private Sub btnEditEnvelope_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles btnEditEnvelope.ItemClick
|
||||
@@ -623,7 +623,7 @@ Public Class frmMain
|
||||
Dim oEnvelope As Envelope = ViewEnvelopes.GetRow(ViewEnvelopes.FocusedRowHandle)
|
||||
|
||||
Dim oController = New EnvelopeEditorController(State, oEnvelope)
|
||||
Dim Documents As New BindingList(Of Document)
|
||||
Dim Documents As New BindingList(Of Domain.Entities.Document)
|
||||
Dim Receivers = New BindingList(Of ReceiverVM)(oController.Envelope.EnvelopeReceivers.Select(Function(r) ReceiverVM.From(r)).ToList())
|
||||
For Each oReceiver As ReceiverVM In Receivers
|
||||
If oReceiver.EmailAddress = selReceiver.EmailAddress Then
|
||||
@@ -871,7 +871,7 @@ Public Class frmMain
|
||||
Dim oEnvelope As Envelope = ViewEnvelopes.GetRow(ViewEnvelopes.FocusedRowHandle)
|
||||
If oEnvelope.UseAccessCode = True Then
|
||||
Dim oController = New EnvelopeEditorController(State, oEnvelope)
|
||||
Dim Documents As New BindingList(Of Document)
|
||||
Dim Documents As New BindingList(Of Domain.Entities.Document)
|
||||
Dim Receivers = New BindingList(Of ReceiverVM)(oController.Envelope.EnvelopeReceivers.Select(Function(r) ReceiverVM.From(r)).ToList())
|
||||
For Each oReceiver As ReceiverVM In Receivers
|
||||
If oReceiver.EmailAddress = selReceiver.EmailAddress Then
|
||||
|
||||
Reference in New Issue
Block a user