Reference the custom control library dll file
Preface
This article mainly introduces how to reference the custom control library (dll file).
text
1. Generate dll file
Generate dll files by building the solution or regenerating the solution.
The generated dll files are in the Debug folder under the bin folder.
2. Select the toolbox item
Click Tools->Select Toolbox Item
3. Select the dll file that needs to be imported.
Click Browse
to find the dll file just generated
4. Determine the controls that need to be imported
Click on the namespace to confirm the control to be imported.
5. Import and use
Click OK.
At this time, the control library we imported cannot be seen in the reference. You
can see the imported control in the toolbar
. After importing a custom control, you can see the imported custom control library in the reference.