请教下,在窗口的 MouseDown 加一下代码,在窗口的表格右击怎么调不出快捷菜单。
快捷菜单也做好了。
If e.Button = MouseButtons.Right Then '假定按下的是鼠标右键 ContextMenus("快捷菜单名").Show(e.Sender,e.x,e.y) '则在鼠标位置显示快捷菜单End If