How to create a popup menu in visual basic.net?

前端 未结 2 1268
误落风尘
误落风尘 2021-01-24 07:01

How can I create a popup menu in vb 2008 for use as a context sensitive menu for when I right-click?

2条回答
  •  误落风尘
    2021-01-24 07:17

    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.

提交回复
热议问题