在TabControl上工作时,我想在运行时更改Tab颜色. [英] Working on TabControl, I want to change Tab color at runtime..

查看:93
本文介绍了在TabControl上工作时,我想在运行时更改Tab颜色.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

好吧,我正在一个项目上,它完全使用c#依赖于WindowForm Application中的Tabcontrol,我想在一个选项卡上实现一些代码,当该选项卡页面打开时,它应该显示白色选项卡,当我转到另一个选项卡时然后将其恢复到原始颜色.大家都可以考虑作为Google chrome的示例,当标签页打开时,其他颜色保持深蓝色,我也希望在我的项目中实现同样的功能.

在此先感谢:)

Hi Friends,

Well, I am working on a project and its completly depend on Tabcontrol in WindowForm Application using c#, I wants to implement some code on a tab, when the tabpage is open its should show me a white color tab and when i go to another tab then it shud get back to the original color. Friends you all can consider as an example of google chrome, when the tab is open its goes white color rest remain dark blue, i wants to implement same on my project as well.

Thanks in Advance:)

推荐答案

请通过以下链接
http://stackoverflow.com/问题/2107463/是否有一种在Winforms中的标签页中为颜色标签的方法
http://stackoverflow.com/questions/4265004/active-tabpage-具有与我的控件相同的颜色
着色"标签控件
Please go through these links
http://stackoverflow.com/questions/2107463/is-there-a-way-to-color-tabs-of-a-tabpage-in-winforms
http://stackoverflow.com/questions/4265004/active-tabpage-has-same-color-as-my-controls
Coloring Tab Control


这篇关于在TabControl上工作时,我想在运行时更改Tab颜色.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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