jj 13_01_16
This commit is contained in:
@@ -227,11 +227,20 @@ Public Class ClassControlValues
|
||||
Dim SW As Stopwatch = Stopwatch.StartNew()
|
||||
|
||||
For Each Ctrl As Control In controls
|
||||
If TypeOf Ctrl Is ComboBox Then
|
||||
Dim combobox As ComboBox = DirectCast(Ctrl, ComboBox)
|
||||
ControlLoader.Combobox.LoadList(combobox, FormID, RecordID, ParentRecordId)
|
||||
Select Case Ctrl.GetType()
|
||||
Case GetType(ComboBox)
|
||||
Dim combobox = DirectCast(Ctrl, ComboBox)
|
||||
ControlLoader.Combobox.LoadList(combobox, FormID, RecordID, ParentRecordId)
|
||||
|
||||
End If
|
||||
Case GetType(DevExpress.XtraEditors.ListBoxControl)
|
||||
Dim listbox = DirectCast(Ctrl, DevExpress.XtraEditors.ListBoxControl)
|
||||
ControlLoader.ListBox.LoadList(listbox, FormID, RecordID, ParentRecordId)
|
||||
|
||||
Case GetType(DevExpress.XtraEditors.CheckedListBoxControl)
|
||||
Dim chlistbox = DirectCast(Ctrl, DevExpress.XtraEditors.CheckedListBoxControl)
|
||||
ControlLoader.CheckedListBox.LoadList(chlistbox, FormID, RecordID, ParentRecordId)
|
||||
|
||||
End Select
|
||||
Next
|
||||
|
||||
SW.Stop()
|
||||
|
||||
Reference in New Issue
Block a user