Ciao a tutti
ho una serie di checkbox in un group control , voglio rendere dinamico l'evento checkedchanged e ho fatto così:
For Each Control As Control In GroupBox3.Controls
If TypeOf Control Is CheckBox Then
AddHandler Control.CheckedChanged, AddressOf control_CheckedChanged
End If
Next
però il codice mi ritorna l'errore:
Errore 17 'CheckedChanged' non è un evento di 'System.Windows.Forms.Control'.
Why???
Grazie in anticipo