Hi
I'm trying to assign a toolbox icon for my custom control. The images are set as embedded resources and are stored in a folder called Images.
I have tried the following:
None of which have worked... Am i missing out something?
Thanks
I'm trying to assign a toolbox icon for my custom control. The images are set as embedded resources and are stored in a folder called Images.
I have tried the following:
VB.NET:
<ToolboxBitmap(GetType(DockSpacerControl), "CommonControls.16x16Test.bmp")> _
Public Class DockSpacerControl
End Class
VB.NET:
<ToolboxBitmap(GetType(DockSpacerControl), "CommonControls.16x16Test.png")> _
Public Class DockSpacerControl
End Class
VB.NET:
<ToolboxBitmap(GetType(DockSpacerControl), "CommonControls.16x16Test.ico")> _
Public Class DockSpacerControl
End Class
VB.NET:
<ToolboxBitmap(GetType(DockSpacerControl), "16x16Test.bmp")> _
Public Class DockSpacerControl
End Class
VB.NET:
<ToolboxBitmap("16x16Test.bmp")> _
Public Class DockSpacerControl
End Class
None of which have worked... Am i missing out something?
Thanks