ContextMenuStrip 类

Posted 劝学

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ContextMenuStrip 类相关的知识,希望对你有一定的参考价值。

表示快捷菜单

 

命名空间:   System.Windows.Forms
程序集:  System.Windows.Forms(位于 System.Windows.Forms.dll)

System.Object
??System.MarshalByRefObject
????System.ComponentModel.Component
??????System.Windows.Forms.Control
????????System.Windows.Forms.ScrollableControl
??????????System.Windows.Forms.ToolStrip
????????????System.Windows.Forms.ToolStripDropDown
??????????????System.Windows.Forms.ToolStripDropDownMenu
????????????????System.Windows.Forms.ContextMenuStrip

 

ContextMenuStrip replaces ContextMenu.ContextMenuStrip 是用于取代ContextMenu。

 

以上是关于ContextMenuStrip 类的主要内容,如果未能解决你的问题,请参考以下文章

ContextMenustrip 控件

实现系统托盘

.ContextMenu 和 .ContextMenuStrip 之间的区别

如何获取 ContextMenuStrip 的位置?

ContextMenuStrip 动态添加多级子菜单

c#的menustrip绑定contextmenustrip