Jump to content
  • Advertisement
Sign in to follow this  
BornToCode

How do you add Custom GUI Control in .Net

This topic is 3329 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have several custom gui controls i have created for an .Net application i am working on, but the problem is that when i try to load Visual Studio User Interface creation tool it cannot parse my custom GUI Controls so i am force to do everything in code. I know it is possible to register those Custom GUI controls with it so when you open the GUI editor so i can drag and drop my custom controls to any gui. So does anyone know how to do this.

Share this post


Link to post
Share on other sites
Advertisement
The controls should appear in the toolbox automatically if they are defined in the project you're working on or are referenced somehow. Failing that, right-click the toolbox and select Choose items.

Share this post


Link to post
Share on other sites
Make sure you have Visual Studio set to automatically populate the Toolbox with controls from your project. Go to Tools->Options->Windows Forms Designer->General and set AutoToolboxPopulate to True.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!