字体变更

编程入门 行业动态 更新时间:2024-10-26 12:27:52
本文介绍了字体变更的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好 有人可以告诉我如何在编码源代码时更改字体大小吗? 在.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 :)

更多推荐

字体变更

本文发布于:2023-08-01 08:56:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1267039.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:字体

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!