ContextMenustrip 控件

时间:2023-03-10 06:26:15
ContextMenustrip 控件

ContextMenustrip 控件是由 System.Windows.Forms.ContextMenustrip类提供,也是ToolstripMenu对象的容器,用来创建窗体的右键显示的菜单,主要时间就是相应Clik事件

 

想要鼠标右键点击显示出ContextMenustrip控件,主窗体上的属性中的ConMenustrip选中要的ContextMenustrip的名字