C#winform标题颜色变化 [英] C# winform header color change

查看:355
本文介绍了C#winform标题颜色变化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友,

我想改变winform标题颜色.default是蓝色但是我想改变一些颜色是否可能?请给出一些建议









提前感谢''

Athi varathan。

Hi Friends,
I Want to change winform header color .default is blue color but i want to change some color is it possible ?? pls give some suggestion




Thank''s in advance
Athi varathan.

推荐答案

不费吹灰之力。您可以更改标题的颜色,但前提是您自己完全绘制表单的整个非客户区域。



您有理由不去找不到在网上这样做的代码。这很难做,需要很多代码,而且收益甚少。
Not without an extreme effort. You can change the color of the header, but only if you completely draw the entire non-client area of the form yourself.

There is a reason why you don''t find code for doing this on the web. It''s very difficult to do, takes a lot of code, and gives very little benefit.


检查一下

http://stackoverflow.com/questions/11862315/changing-the-color-of -the-title-bar-in-csharp-winform [ ^ ]


这篇关于C#winform标题颜色变化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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