Serialcoder en Français Serialcoder in English
TEL : +33 (0)9 72 13 15 17

Windows Forms FAQ resources

2. Windows Forms Controls

2.5 How do I programatically change the color of a control?


Use the properties BackColor and ForeColor.

     
     button1.BackColor = Color.White;
     button1.ForeColor = Color.Blue;