A
Anil Gupte
I got as far as this;
Private Sub PopulateRecentFilesList()
For Each item As String In L3G.RecentFilesList
mnuTopFile.MenuItems.Add(item, New EventHandler(AddressOf menuItem2_Click))
Next
End Sub
But how do I pass the actual file name to the event handler? And also, am I
doing the right thing by assigning the same event handler?
Finally, this is going in a main menu. I could not figure out how to do
this in a sub menu (like a flyout).
Private Sub PopulateRecentFilesList()
For Each item As String In L3G.RecentFilesList
mnuTopFile.MenuItems.Add(item, New EventHandler(AddressOf menuItem2_Click))
Next
End Sub
But how do I pass the actual file name to the event handler? And also, am I
doing the right thing by assigning the same event handler?
Finally, this is going in a main menu. I could not figure out how to do
this in a sub menu (like a flyout).