本文介绍了如何在表格中更改标题行的颜色,以及如何在标题行中放置特定的按钮(框)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我创建一个表单,并将其功能设置如下:
Hi All,
I create a form, and set its features as below :
Form TheForm = new Form();
TheForm.FormBorderStyle = FormBorderStyle.SizableToolWindow;
The.ControlBox = false;
这样我得到的表单具有方形外观,并且表单上没有表单框(按钮),此外,我可以绘制表单以调整其大小.
现在,我的问题如下:
1.如何更改表格标题行的颜色?
(首行是form.text所在的行)
2.如何将特定的框(按钮)放在表格的开头?
请帮帮我.
在此先感谢.
So that I get a form with an outlook of square type, and there is no form box(button) on the form, plus, I can draw the form to resize it.
Now, my question are below :
1. How can I change the color of the form head line ?
(the head line is the line which the form.text is put)
2. How can I put my specific boxes(buttons) on the head line of form ?
Please help me.
Thanks in Advance.
推荐答案
这篇关于如何在表格中更改标题行的颜色,以及如何在标题行中放置特定的按钮(框)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!