Hi,
I need to provide bitmap to my user control.If the bitmap is
available,then use that bitmap ,else use the standard image of control
For example i'm creating a customized button(mybutton)
[ToolboxBitmap(typeof(Button),"test.ico")]
public class MyButton : System.Windows.Forms.Button
I made the test.ico as embedded resource.From the above ToolboxBitmap
attribute,if test.ico
found in local path it is used as toolbar image,else the image of
button.Is my understanding correct or not?
I'm not getting the image for MyButton using the above coding.Kindly
help me to solve the pbl
Thanks & regards,
Manikandan