控件的默认字体,是否可以设置? [英] Default font for controls, can it be set?

查看:102
本文介绍了控件的默认字体,是否可以设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我厌倦了不得不在我制作的每个控件上更改我的默认字体。  好吧,不是每一个控件 - 我通常只需点击我已经制作的类型之一并在我需要新版本时复制,所以我不需要大声笑。  但是你得到了
的想法。  我发现无法为Visual Studio 2010中的控件指定默认字体。 这是2015年或即将到来的2017年的选项吗?  

解决方案

嗨朋友,


恐怕无法在Visual Studio中直接设置。


但是有一种解决方法,可以用格式设置  designer.cs文件。你可以参考这个帖子和下面的答案:


form-controls-in-visual-studio-ide



祝你好运,


陈伟伟


I get sooooo tired of having to change my default font on every control I make.  Well, not every control - I typically just click one of the type I need that I already made and copy when I need a new one so I don't have to lol.  But you get the idea.  I have found no way to specify a default font for controls in Visual Studio 2010.  Is this an option in 2015, or the upcoming 2017?  

解决方案

Hi friend,

I'm afraid it cannot be set directly in Visual Studio.

But there a workaround, to set it in form.designer.cs file. You could refer to this thread and the answer below:

http://stackoverflow.com/questions/26636268/how-to-change-the-default-font-of-the-form-controls-in-visual-studio-ide

Best regards,

Fletch


这篇关于控件的默认字体,是否可以设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆