jj_26_01_16
This commit is contained in:
@@ -17,7 +17,7 @@ Public Class ClassControlValues
|
||||
ClearControlValues(controls)
|
||||
|
||||
For Each control As Control In controls
|
||||
Dim ControlId As Integer = CInt(control.Tag)
|
||||
Dim ControlId As Integer = DirectCast(control.Tag, ClassControlMetadata).Id
|
||||
|
||||
' Wert per LINQ aus DT_ControlValues suchen der zur aktuellen controlId passt
|
||||
Dim value = (From row In DT_ControlValues.AsEnumerable()
|
||||
@@ -116,7 +116,7 @@ Public Class ClassControlValues
|
||||
|
||||
Dim swcontrol As Stopwatch = Stopwatch.StartNew()
|
||||
|
||||
Dim controlTagId = CInt(Ctrl.Tag)
|
||||
Dim controlTagId = DirectCast(Ctrl.Tag, ClassControlMetadata).Id
|
||||
'If controlTagId = 474 Then
|
||||
' MsgBox("Thats it")
|
||||
'End If
|
||||
@@ -177,7 +177,7 @@ Public Class ClassControlValues
|
||||
End If
|
||||
|
||||
For Each Ctrl As Control In controls
|
||||
Dim controlTagId = CInt(Ctrl.Tag)
|
||||
Dim controlTagId = DirectCast(Ctrl.Tag, ClassControlMetadata).Id
|
||||
Dim row As DataRow = dt.Select(String.Format("CONTROL_ID={0}", controlTagId)).FirstOrDefault()
|
||||
|
||||
If IsNothing(row) Then
|
||||
@@ -298,7 +298,7 @@ Public Class ClassControlValues
|
||||
Dim i = 0
|
||||
For Each control As Control In controls
|
||||
|
||||
Dim CONTROL_ID = control.Tag ' GetControlID_for_Name(control.Name, FormID)
|
||||
Dim CONTROL_ID = DirectCast(control.Tag, ClassControlMetadata).Id ' GetControlID_for_Name(control.Name, FormID)
|
||||
If Not (TypeOf control Is Label) Then
|
||||
i += 1
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user