How to put a UserControl into Visual Studio toolBox

前端 未结 10 2186
逝去的感伤
逝去的感伤 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:34

    I found that the user control must have a parameterless constructor or it won't show up in the list. at least that was true in vs2005.

提交回复
热议问题