Originariamente inviato da Jeremy75
codice:
for each cnt as control in me.controls
if typeof cnt is textbox then
addhandler cnt.textchanged, addressof ValoreModificato
end if
if typeof cnt is checkbox then
addhandler cnt.checkedchanged, addressof ValoreModificato
end if
next
Ciao
Hai provato? Prova, e vedrai che sul checkedchanged ti da errore:

codice:
Errore	1	'CheckedChanged' non è un evento di 'System.Windows.Forms.Control'.	
D:\Documenti\Visual Studio 2008\Projects\test_vari\test_vari\frmMain.vb