字体变更 [英] Font Change
本文介绍了字体变更的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
有人可以告诉我如何在编码源代码时更改字体大小吗?
在.NET环境中,因为我看不到属性.
Hi all
Can anybody tell me how to change size of font while coding source code
in .NET environment, because I could not able to see the properties.
推荐答案
转到:工具->选项->环境-> ;字体和颜色" ,您将可以进行更改. :)
Go to: "Tools –> Options –> Environment -> Fonts and Colors" and you will be able to make your changes. :)
尝试一下,我想通过单击按钮来更改文本框的字体
Try this out i ma trying to change the font of your textbox on the click of a button
private void button1_Click(object sender, EventArgs e)
{
textBox1.Font = new Font("Verdana", 16);
}
一旦找到有用的答案,就对我的答案进行评分
谢谢&问候
基数:)
do rate my answer once you find it useful
Thanks & Regards
Radix :)
这篇关于字体变更的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文