Windows窗体应用程序的默认字体 [英] Default font for Windows Forms application
问题描述
为什么会发生这种情况?如何确保我的应用程序看起来像一个正常的Windows应用程序?
看看这个博客条目讨论表单中的默认字体,这会导致您遇到的问题,这个 Connect Bug 与微软的回应。简而言之,Forms似乎没有得到正确的默认窗口字体(你已经改变了)。
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).
这篇关于Windows窗体应用程序的默认字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!