解决方法
您应该创建自己的控件设计器,它可以为VS表单设计器提供动词作为自定义菜单项或UI增强功能.
Designer:
A class that takes care of the appearance and behavior of the control
when hosted in Visual Studio .NET. You can use this class to add new
context menu verbs and,for ASP.NET controls,to explicitly indicate
the HTML code to show in the designer.
点击这里查看完整文章: