How to create a context menu in C#

前端 未结 3 742

I want to create a context menu using C# that will display next to the node similar to what happens here in Visual Studio:

3条回答
  •  情歌与酒
    2021-01-21 03:59

    You should set up treeView1.ContextMenu instead of the approach you're taking.

提交回复
热议问题