问题
How can I create a popup menu in vb 2008 for use as a context sensitive menu for when I right-click?
回答1:
First, create the context menu using the ContextMenuStrip control. Then assign that ContextMenuStrip to the ContextMenuStrip property of the form or control you want to use the context menu with.
回答2:
There's a context menu located in the Components section of the Toolbox. You can then link this context menu to the appropriate control(s) in the Properties section of the control in the Design View.
来源:https://stackoverflow.com/questions/1723327/how-to-create-a-popup-menu-in-visual-basic-net