How to add a user control to a toolbar?

I want to create a CustomControl toolbar in a C # application

+4
source share
1 answer

If your component is inside the project, you can automatically add it to the toolbar. Go to: Tools → Options → Windows Form Designer and enable the “AutoToolboxPopulate” option.

If this is a separate solution, you can create a control library and drag it to the toolbar to add components.

+9
source

Source: https://habr.com/ru/post/1333811/


All Articles