开发者

WinForm Controls in context menu

开发者 https://www.devze.com 2023-02-18 11:11 出处:网络
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).

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

精彩评论

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