refactor(Form): aktualisierte Importe zur Verwendung von Domain
This commit is contained in:
parent
4fc94fc567
commit
10aa857544
@ -28,7 +28,7 @@ Public Class EmailData
|
||||
''' <param name="pEnvelope"></param>
|
||||
''' <param name="pReceiver"></param>
|
||||
''' <param name="pStatus"></param>
|
||||
Public Sub New(pEnvelope As Envelope, pReceiver As Receiver, pStatus As Constants.EnvelopeStatus)
|
||||
Public Sub New(pEnvelope As Entities.Envelope, pReceiver As Receiver, pStatus As Constants.EnvelopeStatus)
|
||||
EmailAdress = pReceiver.EmailAddress
|
||||
EmailSubject = String.Empty
|
||||
EmailType = pStatus
|
||||
@ -64,7 +64,7 @@ Public Class EmailData
|
||||
''' </summary>
|
||||
''' <param name="pEnvelope"></param>
|
||||
''' <param name="pStatus"></param>
|
||||
Public Sub New(pEnvelope As Envelope, pStatus As Constants.EnvelopeStatus)
|
||||
Public Sub New(pEnvelope As Entities.Envelope, pStatus As Constants.EnvelopeStatus)
|
||||
EmailAdress = pEnvelope.User.Email
|
||||
EmailSubject = String.Empty
|
||||
EmailType = pStatus
|
||||
|
||||
@ -2,9 +2,7 @@
|
||||
Imports DigitalData.Modules.Base
|
||||
Imports EnvelopeGenerator.Common
|
||||
Imports System.Data.SqlClient
|
||||
Imports DevExpress.DocumentView
|
||||
Imports System.Transactions
|
||||
Imports System.IO
|
||||
Imports EnvelopeGenerator.Domain.Entities
|
||||
|
||||
Public MustInherit Class BaseController
|
||||
Inherits BaseClass
|
||||
|
||||
@ -5,6 +5,7 @@ Imports DigitalData.Modules.Logging
|
||||
Imports EnvelopeGenerator.Common
|
||||
Imports EnvelopeGenerator.Common.My
|
||||
Imports EnvelopeGenerator.Domain.Constants
|
||||
Imports EnvelopeGenerator.Domain.Entities
|
||||
|
||||
Public Class EnvelopeEditorController
|
||||
Inherits BaseController
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
Imports DevExpress.XtraCharts
|
||||
Imports EnvelopeGenerator.Common
|
||||
Imports EnvelopeGenerator.Domain
|
||||
|
||||
Public Class EnvelopeListController
|
||||
Inherits BaseController
|
||||
@ -8,14 +9,14 @@ Public Class EnvelopeListController
|
||||
MyBase.New(pState)
|
||||
End Sub
|
||||
|
||||
Public Function ListEnvelopes() As IEnumerable(Of Envelope)
|
||||
Public Function ListEnvelopes() As IEnumerable(Of Entities.Envelope)
|
||||
Return EnvelopeModel.List()
|
||||
End Function
|
||||
Public Function ListCompleted() As Object
|
||||
Return EnvelopeModel.ListCompleted()
|
||||
End Function
|
||||
|
||||
Public Overloads Function DeleteEnvelope(pEnvelope As Envelope, pReason As String) As Boolean
|
||||
Public Overloads Function DeleteEnvelope(pEnvelope As Entities.Envelope, pReason As String) As Boolean
|
||||
Return MyBase.DeleteEnvelope(pEnvelope, pReason)
|
||||
End Function
|
||||
|
||||
|
||||
@ -13,6 +13,7 @@ Imports EnvelopeGenerator.Domain
|
||||
Imports EnvelopeGenerator.Common.My
|
||||
Imports GdPicture14
|
||||
Imports EnvelopeGenerator.Domain.Constants
|
||||
Imports EnvelopeGenerator.Domain.Entities
|
||||
|
||||
Partial Public Class frmEnvelopeEditor
|
||||
Public Property Envelope As Envelope
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
Imports EnvelopeGenerator.Common
|
||||
Imports EnvelopeGenerator.Common.My
|
||||
Imports EnvelopeGenerator.Common.Constants
|
||||
Imports EnvelopeGenerator.Domain
|
||||
Imports System.ComponentModel
|
||||
Imports EnvelopeGenerator.Domain.Constants
|
||||
Imports EnvelopeGenerator.Domain.Entities
|
||||
|
||||
|
||||
Public Class frmEnvelopeMainData
|
||||
Private FormLoaded As Boolean = False
|
||||
Public Property Envelope As Envelope = New Envelope()
|
||||
Public Property Envelope As Entities.Envelope = New Entities.Envelope()
|
||||
Public Property NewEnvelopeMode As Boolean = True
|
||||
|
||||
Private Property EnvelopeTypeModel As EnvelopeTypeModel
|
||||
|
||||
@ -1,12 +1,11 @@
|
||||
Imports System.Collections
|
||||
Imports DevExpress.Utils
|
||||
Imports DevExpress.Utils
|
||||
Imports DevExpress.Utils.Svg
|
||||
Imports DevExpress.XtraBars
|
||||
Imports DigitalData.Modules.Logging
|
||||
Imports EnvelopeGenerator.Common
|
||||
Imports EnvelopeGenerator.Common.Constants
|
||||
Imports EnvelopeGenerator.Common.My
|
||||
Imports EnvelopeGenerator.Domain.Constants
|
||||
Imports EnvelopeGenerator.Domain.Entities
|
||||
Imports GdPicture14
|
||||
Imports GdPicture14.Annotations
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user