如何给C# 中的tabControl 控件添加图片

1. 把tabcontrol 托到form 窗口

2.右击tabControl 添加tab

3.把imageList 控件托到form 窗口。

4.设置3中imageList的图片列表,xx.png

5.设置tabControl 的属性:imageList 成3中的imageList.

6.选中2中tabcontrol 的某一个tab, 设置listIndex或listKey.

7.done.

猜你喜欢

转载自blog.csdn.net/coolfishbone_joey/article/details/79272570