vb.net - Devo verificare il contenuto di un determinato controllo unico per la combinazione TAG - TAB INDEX. Non riesco a recuperare il valore. Il vero problema io credo che sia l'indice "i". Consigli?
For i As Integer = 0 To Me.NumeroDiUsimRegistrate - 1
For Each _c In Controlli
If TypeOf _c Is Label Then
_lbl2 = DirectCast(_c, Label)
If _lbl2.Tag = i + 1 And _lbl2.TabIndex = 3 And _lbl2.Text.Contains("Super3") Then
super3 = True
End If
If _lbl2.Tag = i + 1 And _lbl2.TabIndex = 3 And _lbl2.Text.Contains("SuperTuaPiù") Then
super3 = False
End If
End If
Next
Next