User Controls not showing up in the toolbox

前端 未结 29 2208
暗喜
暗喜 2020-12-13 12:21

I have some UserControls that I created in ProjectA. I have ProjectB that has a windows form that I want to put the controls on. Both of these projects are in a single sol

29条回答
  •  难免孤独
    2020-12-13 12:39

    In your UserControl, make sure that New is declared Public. It won't show up if it's just declared Sub New (which defaults to Friend).

提交回复
热议问题