How to: Change the Color of Text on a Windows Forms Control
This example demonstrates how to change the color of text that is displayed on a Label control.
Example
label1.ForeColor=System.Drawing.Color.Pink;
Compiling the Code
This example requires:
A Windows Form Application project.
A Label named label1 on the form.
See Also
Concepts
Designing a User Interface in Visual C#