更改字体大小表格标题! [英] Change Font Size Form Title !
问题描述
大家好
我有一个简单的问题,但我认为答案很难!
I have a simple question, but I think the answer is difficult !
我有一个表格( Form1)在我的项目中。如您所知, 所有表单都有一个名为text的属性。
I have a form (Form1) in my project. As you know, All forms have a property called text.
通过更改此属性,表单标题更改。
By changing this property, form title changes .
For默认模式下的示例form1的text属性为Form1,如果此属性从Form1更改为Sample,则Sample将为表单标题。
For example in default mode text property of form1 is Form1 and if this property change from Form1 to Sample, then Sample will be form title .
现在我的问题是:
如何更改标题的字体大小form1 ???
How can change font size of title form1 ???
推荐答案
您好Ali-IRAN,
Hi ali-IRAN,
>>如何更改标题的字体大小form1 ???
>>How can change font size of title form1 ???
无法通过VS属性工具栏更改它,它由操作系统决定。
It is impossible to change it through the VS property toolbar, it is determined by the operating system.
作为替代解决方案,我建议您可以设置Form的FormBorderStyle为None,然后添加一个panal和一个Lable和一些按钮来模拟标题栏:
As a alternative solution, I suggest you can set the Form's FormBorderStyle to None, then add a panal and a Lable and some buttons to simulate the title bar:
或者您可以自定义自己的表格,请r请参阅以下文件:
Or you can customize your own Form, please refer to the below document:
https:/ /www.codeproject.com/Articles/14054/Google-Talk-styled-Windows-Form
希望这会有所帮助!
最诚挚的问候,
Stanly
这篇关于更改字体大小表格标题!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!