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

前端 未结 5 1828
囚心锁ツ
囚心锁ツ 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:12

    C# custom control will automatically populate once you build the project in which it is created & add reference of that project to the project having Form which needs that custom control. Faced the same problem myself. Once dll is made for that project and included using add references in the project you want its use, It is sure to see it in Toolbox.

提交回复
热议问题