|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ToolStripMenuItem assign click eventVB.Net 2005 Pro
I am working in the designer and add a ContextMenuStrip to my form, and attach it to a checklistbox control. Then I add a couple of ToolStripMenuItems to the ContextMenuStrip and assign the properties and images. Now I want to assign the Click event of the ToolStripMenuItem, but I don't see anywhere to do this. How do I add the click event from the designer? Rick Can you not go to the code file and select the menu item from the controls
list on the left and then select the event fron the list on the right? Show quoteHide quote "Rick" <R***@LakeValleySeed.com> wrote in message news:erNZi1HJHHA.3936@TK2MSFTNGP02.phx.gbl... > VB.Net 2005 Pro > > I am working in the designer and add a ContextMenuStrip to my form, and > attach it to a checklistbox control. Then I add a couple of > ToolStripMenuItems to the ContextMenuStrip and assign the properties and > images. Now I want to assign the Click event of the ToolStripMenuItem, > but I don't see anywhere to do this. > > How do I add the click event from the designer? > > Rick > Yes, I found it.
I was thinking it should be from the inplace editor where you add the menu items, but there were no events available here. Later I found it on the form itself, but it had been put out of view so I did not see it until I scrolled down. Thank you Show quoteHide quote "Samuel Shulman" <samuel.shul***@ntlworld.com> wrote in message news:e2FqluIJHHA.3952@TK2MSFTNGP02.phx.gbl... > Can you not go to the code file and select the menu item from the controls > list on the left and then select the event fron the list on the right? > > > "Rick" <R***@LakeValleySeed.com> wrote in message > news:erNZi1HJHHA.3936@TK2MSFTNGP02.phx.gbl... >> VB.Net 2005 Pro >> >> I am working in the designer and add a ContextMenuStrip to my form, and >> attach it to a checklistbox control. Then I add a couple of >> ToolStripMenuItems to the ContextMenuStrip and assign the properties and >> images. Now I want to assign the Click event of the ToolStripMenuItem, >> but I don't see anywhere to do this. >> >> How do I add the click event from the designer? >> >> Rick >> > > |
|||||||||||||||||||||||