How to add submenu items to menuitems

后端 未结 4 996
旧巷少年郎
旧巷少年郎 2021-01-02 09:33

I have created a Table layout in windows forms as shown in figure, i have added a right mouse button click Menu to my table,

i wnt to add submenu items to following

4条回答
  •  萌比男神i
    2021-01-02 09:56

    You can add This

    var someMenu= new MenuItem("Foo");
    someMenu.MenuItems.Add( new MenuItem("foo "));
    

提交回复
热议问题