Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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?
  • *Gurus*
Posted
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.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...