在面板和Tabcontol上添加图标 [英] adding icons on panel and tabcontol
本文介绍了在面板和Tabcontol上添加图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尊敬的先生,
我们可以使用imagelist组件存储图像并将其添加到面板和组框上吗?
Dear sir,
Can we use imagelist component to store the image and add that image on panel and groupbox. & how.
推荐答案
是的,您可以这样做.您可以设置 BackgroundImage [ ImageList.ImageCollection [
Yes, you can do that. You can set the BackgroundImage[^] to a proper image from the ImageList.ImageCollection[^]
For example
panel1.BackgroundImage = imagelist1.Images[2];
这篇关于在面板和Tabcontol上添加图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文