Default font for the Windows Forms application
source link: https://www.codesd.com/item/default-font-for-the-windows-forms-application.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Default font for the Windows Forms application
Every time that I create a new form in my application, it uses the "Microsoft Sans Serif, 8.25pt" font by default. I'm not changing it because I know that in this case my form should pick up whatever the default font is for the system. However, when I run my application, the font that is used is still anything but Segoe UI (my default system font in my Windows Vista OS).
Why does this happen? How do I make sure that my application looks like a normal Windows application?
Check out this blog entry talking about the default font in Forms which leads to the problem you are experiencing and this Connect Bug with Microsoft's response. In short it just seems that Forms does not get the (correct) default windows font (which you have changed).
Related Articles
Set a default font for the entire iOS application?
How to find a product code for the Windows Forms application?
Creating an SQL database for the Windows Forms application
Pass the Windows Forms application user name / password to an ASP.NET Web application
Enhanced text in the Windows Forms application
Why does not the batch file copy files when called from the Windows Forms application, but does it work from the Console application?
Hooked message loop in the Windows Forms application?
Use a relative path for images in the Windows form application
User Interface Controls Overlay & amp; Font problem in the Windows Forms application
Running a form for a single time within the entire duration of the Windows form application
Install the wizard for my Windows form application - or not?
How to set the vertical alignment for the Windows Forms TextBox?
Error 0x80004005 while generating a C # class library as part of the Windows Forms application
Refactoring the Windows Forms Application
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK