Formular-Initialisierung
[Visual Basic] Public Sub New( _
ByVal Nr As Integer, _
ByVal Vertragspartnernr As Integer, _
Optional ByVal iReadOnly As Boolean = False, _
Optional ByVal CreateNew As Boolean = False _
)
[Visual Basic] Public Sub New(ByVal Nr As Integer, ByVal Vertragspartnernr As Integer, Optional ByVal iReadOnly As Boolean = False, Optional ByVal CreateNew As Boolean = False)
MyBase.New()
Me.InitializeComponent()
Me.Vertragspartnernr = Vertragspartnernr
If CreateNew Then
Me.PersonNr = Me.Kontaktperson.Add_New(Vertragspartnernr)
Me.Neuer_Datensatz = True
Else
PersonNr = Nr
End If
Me.FormReadonly = iReadOnly
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