This commit is contained in:
SchreiberM
2016-03-16 13:45:43 +01:00

View File

@@ -220,10 +220,11 @@ Public Class ClassControlBuilder
Case "CheckedListBoxControl"
Dim chklistbox As DevExpress.XtraEditors.CheckedListBoxControl = CType(control, DevExpress.XtraEditors.CheckedListBoxControl)
AddHandler chklistbox.ItemCheck, AddressOf RecordChanged
'Case "DataGridView"
' Dim gridview As DataGridView = CType(control, DataGridView)
' AddHandler gridview.UserDeletingRow, AddressOf UserDeletingRow
' AddHandler gridview.CellEndEdit, AddressOf CellEndEdit
Case "DataGridView"
Dim gridview As DataGridView = CType(control, DataGridView)
AddHandler gridview.RowsAdded, AddressOf RecordChanged
AddHandler gridview.CellValueChanged, AddressOf RecordChanged
AddHandler gridview.RowsRemoved, AddressOf RecordChanged
End Select
End Sub