Grazie davvero, ho adattato il tuo codice così:
For Each c As Control In Panel2.Controls
If TypeOf c Is Button Then
If c.BackColor = Color.Orange Then
c.BackColor = Color.Red
End If
End If
Next
Va a meraviglia![]()
Grazie davvero, ho adattato il tuo codice così:
For Each c As Control In Panel2.Controls
If TypeOf c Is Button Then
If c.BackColor = Color.Orange Then
c.BackColor = Color.Red
End If
End If
Next
Va a meraviglia![]()