C#桌面应用程序中的标签页控件 [英] Tab Page Control In C# Desktop Application

查看:458
本文介绍了C#桌面应用程序中的标签页控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨:

我希望表单中的一个选项卡控件中有三个标签页。要求是当按钮单击第三个选项卡的颜色更改但未选择时喜欢Skype消息。就像我们运行应用程序时,第一个标签页颜色为绿色,剩下的两个标签页颜色为
为红色。当我们点击按钮时,标签页3的颜色从红色变为棕色。而第二个仍然是红色。当我们访问标签页3时,其颜色为绿色,剩余的两个标签页为红色。当我们回到第一个标签页时,第二个和第三个标签的颜色为
页面红色,第一个是绿色。实际上,当我们选择标签或点击按钮时,颜色只会从红色变为另一种颜色,如棕色或绿色。

I want three tab pages in one tab control in a form. Requirement is that when button click the color of third tab change but not selected Like Skype Messages. Like when we run application the 1st tab page color Green and the remaining two tab page color is red. when we click button the color of tab page 3 change from Red to Brown. And the second remain Red. When we visit the tab page 3 its color Green and remaining two tab pages color Red. when we come Back to 1st tab page the color of second and third tab page red and 1st is Green. actually the color is only changed from red to another Like Brown or Green when we Select the tab or click the button.

推荐答案

检查
这个
链接,它可能会有帮助。

Hi, check this link, it might help.

可能会考虑
这个
也是。


这篇关于C#桌面应用程序中的标签页控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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