S
shoosh
In VB.NET, I create a File menu. One of the File Menu items is "Recent
Projects". Using the following Code, I can add sub-menu items to drop down
below "Recent Projects."
mnuRecentProjects.DropDownItems.Add("Test Item 4")
mnuRecentProjects.DropDownItems.Add("Test Item 5")
mnuRecentProjects.DropDownItems.Add("Test Item 6")
So now at run time I have 3 sub-menu items off my "Recent Projects" menu item.
Question: What event is raised when I click on one of these, say "Test Item
#4" and how do I access it?
In VB6 it was simple, in vb.net I can't seem to find how to access the
underlying code for a sub-menu click event.
Projects". Using the following Code, I can add sub-menu items to drop down
below "Recent Projects."
mnuRecentProjects.DropDownItems.Add("Test Item 4")
mnuRecentProjects.DropDownItems.Add("Test Item 5")
mnuRecentProjects.DropDownItems.Add("Test Item 6")
So now at run time I have 3 sub-menu items off my "Recent Projects" menu item.
Question: What event is raised when I click on one of these, say "Test Item
#4" and how do I access it?
In VB6 it was simple, in vb.net I can't seem to find how to access the
underlying code for a sub-menu click event.