开发者

WinForm Controls in context menu

I need to add some controls to context menu. Is it possible? If 开发者_C百科yes, how?


You need to use the ToolStripControlHost to host your control in a context menu (or toolbar as well I think).

Here is an article briefly explaining how: http://www.dotneat.net/2009/01/19/AddingYourOwnCustomControlToAWindowsFormsContextMenuUsingToolStripCustomHostClass.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜