How to put a UserControl into Visual Studio toolBox

前端 未结 10 2179
逝去的感伤
逝去的感伤 2020-11-29 01:02

I made a usercontrol in my project, and after building project, I need to put it in my toolbox, and use it as a common control. but i can\'t. the UserControl is

10条回答
  •  醉梦人生
    2020-11-29 01:32

    Right-click on toolbar then click on "choose item" in context menu. A dialog with registered components pops up. in this dialog click "Browse" to select your assembly with the usercontrol you want to use.

    PS. This assembly should be registered before.

提交回复
热议问题