[英]How do I add a user control to a Windows Forms application in Visual Studio 2010?
如何在Visual Studio 2010中向Windows窗体应用程序添加用户控件?
You can try advice from How to put a UserControl into Visual Studio toolBox . 您可以尝试如何将UserControl放入Visual Studio工具箱中的建议 。 However, I had no success, but finally I found soulution.
但是,我没有成功,但最终我找到了解决方法。
My steps: 我的步骤:
I have no explanation. 我没有解释
右键单击解决方案资源管理器中的项目,选择添加新的用户控件菜单项。
Got to: 前往:
Project at the topmenubar 顶部菜单中的项目
then 然后
pick the 2nd option: "add user control..." 选择第二个选项:“添加用户控件...”
type in a name for the user control u want and your done by clickin on OK 键入您想要的用户控件的名称,然后单击确定以完成操作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.