Click here to Skip to main content
15,906,766 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to make my own control in windows form in c# and add it in toolbox and use it same as other control. any body please suggest to how to accomplished that. thanks in advance :)..
Posted

1) Create a new Windows Forms project. Type: "User controls library".
2) An empty user control is generated for you.
3) Make your user control fancy.
4) Compile it. A dll gets created that you can reference in your other projects.
 
Share this answer
 
Or you can just add a User Control to your project, code what you want it to do and then on the menustrip go to: Build > Build Solution or just press F6. You should be able to see the component on your toolbox.
 
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