This commit is contained in:
SchreiberM
2016-05-02 14:03:34 +02:00
parent dfadd6d53a
commit 3d8a88515c
14 changed files with 292 additions and 172 deletions

View File

@@ -219,7 +219,7 @@ Public Class ClassControlValues
End Sub
Private Shared Sub LoadControlValue(recordId As Integer, parentRecordId As Integer, controlId As Integer, control As Control, values As List(Of Object), entity_ID As Integer)
Public Shared Sub LoadControlValue(recordId As Integer, parentRecordId As Integer, controlId As Integer, control As Control, values As List(Of Object), entity_ID As Integer)
Try
' Für die meisten Controls wird nur das erste Element der Liste benötigt
Dim value As String = Nothing
@@ -240,7 +240,7 @@ Public Class ClassControlValues
ControlLoader.Label.LoadValue(label, recordId, parentRecordId, value, entity_ID)
Case GetType(CustomComboBox)
Dim combobox As CustomComboBox = DirectCast(control, CustomComboBox)
ControlLoader.Combobox.LoadValue(combobox, recordId, parentRecordId, value)