Reputation:
The default font family and size for Winform apps are just too small (and look so outdated IMHO).
Is there any easy way I could change them for the whole application? I'd prefer not to set them on a control or form basis -just a one time thing, if possible.
Upvotes: 9
Views: 17331
Reputation: 17392
WindowsFormsApplication1.Properties.Settings.Default.UserFont = new Font("Arial", 24, FontStyle.Bold);
Upvotes: 17
Reputation: 2171
Short answer : no. But you can workaround this.
Make yourself a BaseForm that is empty and sets it's font to the one you want. Then you need to make every other form to inherits your base one.
Upvotes: -3
Reputation: 751
You can set the Font
property of the forms in your app, and this will change all child controls that have the same font.
Upvotes: 8