C# Custom Control doesn't show up in the toolbox

前端 未结 5 1793
囚心锁ツ
囚心锁ツ 2021-01-28 19:50

I have created the custom control which is just a panel that I will be using to render my DirectX code. However, I am unable to see the control in my toolbox for when I try to a

5条回答
  •  独厮守ぢ
    2021-01-28 20:01

    Did you right click on the toolbox and click "Choose Items", and then browse to the built assembly that contains your custom control?

    That's what I always have to do, and then my custom controls show up in the "General" section of the toolbox.

提交回复
热议问题