Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created user defined control for button(own button class).

I try to change the icon for that controls like default button icon.

Give me a solution.
Posted

1 solution

C#
[System.Drawing.ToolboxBitmap ( @"C:\FillDownHS.bmp" )]
public class TestControl
{
}


http://msdn.microsoft.com/en-us/library/4wk1wc0a.aspx
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900