Sign in to follow this  
BornToCode

How do you add Custom GUI Control in .Net

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this