Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add User control in the toolbox for C#.net for winforms by importing the dll to the reference?

Tags:

c#

.net

winforms

I have one dll of usercontrol and I add to it to the references in my project. And now I want to access this usercontrol from toolbox but it does not appear in the toolbox. And I can access them by writing code, but I want it in toolbox and want to use by just dragging it to the form.

like image 314
Harikrishna Avatar asked Sep 10 '25 19:09

Harikrishna


2 Answers

You need to right click on the toolbox, select "Choose Items.." and browse to the dll containing the control.

like image 137
Dave7896 Avatar answered Sep 12 '25 09:09

Dave7896


Right click on the toolbox -> Choose items...

like image 35
Stormenet Avatar answered Sep 12 '25 10:09

Stormenet