Vertragsverwaltung-Klassenbibliothek  

clsVertragselement.Add_Service -Methode

Neuer Serice/Leistung als Vertragsleistung hinzufügen

[Visual Basic]
Public Function Add_Service( _ 
ByRef vertragselementnr As Integer, _ 
ByRef ParentForm As Form
) As Object

Parameter

vertragselementnr
Nr des aktuellen Vertragselementes
ParentForm
Formular welches für die MDI.Parent-Eigenschaft benötigt wird

Quellcode

[Visual Basic]
        Public Function Add_Service(ByRef vertragselementnr As Integer, ByRef ParentForm As Form) 
Dim i As Integer = Service.Add_New(vertragselementnr) 
Dim f As New frmServicekatalog(Service.iServicekatalogNr.Value, False, True, i, True) 
f.MdiParent = ParentForm.MdiParent 
f.Show() 
End Function

Forderungen

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

Siehe auch

clsVertragselement