Displaying custom icon for custom control?(显示自定义控件的自定义图标?)
问题描述
在 Visual Studio 中,当您创建自定义控件时,您会得到这个 用于控件图标而不是自定义控件的丑陋的紫色小齿轮 .
In visual studio when you create a custom control you get this ugly little purple gear thing for an icon of your control instead of a custom control .
那么如何更改控件的图标?
So how can I change the icon for my control?
推荐答案
使用 ToolboxBitmap 类的属性.
这篇关于显示自定义控件的自定义图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!