Hi,
I have created some custom controls and I want to customize the icon that appears in the toolbox.
I have write this lines of code
[Skin(typeof(ItsTextDataSkin))]
[ToolboxBitmapAttribute(typeof(ItsTextData), "Its.Framework.Web.Pres_ControlliEdit.ItsTextData.bmp")]
[System.ComponentModel.ToolboxItem(true)]
[Serializable()]
[ToolboxItemCategory("Italstudio.Web")]
And in my project I have a ItsTextData.bmp image with Build Action set to EmbeddedResource (also tried with Content). My Control is ItsTextData and its skin is ItsTextDataSkin.
When I add it to a toolbox my control appears with the gear icon not with my new custom icon.
Can someone tell me if the previous steps are correct and if someone has already done this.
Thanks,
Daniele