Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I set the font of a control?

Use the Font property for the control along with the Font class in the System.Drawing namespace.

button1.Font = new Font ( "Courier", 10, FontStyle.Bold ); 

Contributed from George Shepherd's Windows Forms FAQ