Constructor New
[Visual Basic] Public Sub New( _
Optional ByVal Servicekatalognr As Integer = -1, _
Optional ByVal FormReadonly As Boolean = False, _
Optional ByVal SelectLeistung As Boolean = False, _
Optional ByVal Vertragsleistungsnr As Integer = 0, _
Optional ByRef CreateNew As Boolean = _
)
Die otionalen Paramter Servicekatalognr, SelectLeistung und Vertragsleistungsnummer werden benötigt, um entweder ein Leistungselement aus dem Vertragselement anzuzeigen bzw. ein Leistungselement auszuwählen
[Visual Basic] Sub New(Optional ByVal Servicekatalognr As Integer = -1, Optional ByVal FormReadonly As Boolean = False, Optional ByVal SelectLeistung As Boolean = False, Optional ByVal Vertragsleistungsnr As Integer = 0, Optional CreateNew as Boolean=False)
InitializeComponent()
Me.ServiceKatalognr = Servicekatalognr
Me.Vertragsleistungsnr = Vertragsleistungsnr
Me.FormReadonly = FormReadonly
If CreateNew Then
Me.Neuer_Datensatz = True
End If
Me.ForSelect = SelectLeistung
If Me.ForSelect = True Then Me.FormReadonly = True
End Sub
Plattformen: Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition