我现在有这样的代码来更改我的所有按钮的前色或背景色:
Private Sub SetAllLabelsForeColor(ByVal parent As Control)
For Each c As Control In parent.Controls
If TypeOf (c) Is Button And c.BackColor = Color.Red Then
c.FlatAppearance.MouseOverBackColor = Color.White 'I AM STUCK HERE
Else