User Control

Phylum123

Newcomer
Joined
Feb 26, 2002
Messages
9
I have a user control that I named something else, from the default: UserControl1. When I add the control to my toolbox it adds my control AND a control called: UserControl1. How do I prevent this?
 
You messed something up, somewhere. Adding a usercontrol and changing it's name (in the class declare) is all you need to do. You'll probably change its filename too. Build your project and the new control will appear on the toolbox for Windows Forms in the project.
 
Back
Top