codice:foreach( Control c in form1.Controls) { if(c is Button) { //questo è uno dei tuoi bottoni c.Foreground = ....; } }
codice:foreach( Control c in form1.Controls) { if(c is Button) { //questo è uno dei tuoi bottoni c.Foreground = ....; } }
Amaro C++, il gusto pieno dell'undefined behavior.