Notifications
Clear all
[Closed] submenu for context menu [.net]
Dec 26, 2012 4:52 pm
Hey everyone im trying to make contextmenu with context menu .net…im stuck with “how to add the sub menu”
...
contextMenu = dotNetObject "System.Windows.Forms.ContextMenuStrip"
contextMenu.RenderMode = contextMenu.RenderMode.system
separator1=(dotNetObject "System.Windows.Forms.ToolStripSeparator")
Laugh=dotNetObject "System.Windows.Forms.ToolStripMenuItem" "Hahaha"
MoreLaugh=dotNetObject "System.Windows.Forms.ToolStripMenuItem" "Sisisi"
Quiet=dotNetObject "System.Windows.Forms.ToolStripMenuItem" "Stttt"
contextMenu.Items.Add Laugh
contextMenu.Items.Add separator1
…submenu here… I want to add MoreLaugh and Quiet as submenu …
for the help, input and sugestion
best regard
fajar
2 Replies
Dec 26, 2012 4:52 pm
Thanks my friend…never thou it was short line 😮 …unlike in c or what…using as contextstrip method.
OK got it :applause:
Best regard
:bowdown:
Fajar