i have a context menu for my program... items are added to it during runtime using ContextMenu.MenuItems.Add("blahblah")
how do I program the items of the context menu when clicked? i've always created menu items beforehand and by double clicking on it, it generates a sub like
but for this project, its not possible to tell how many items there will be. help pl0x? thanks guys!
how do I program the items of the context menu when clicked? i've always created menu items beforehand and by double clicking on it, it generates a sub like
VB.NET:
Private Sub MenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem1.Click
End Sub
but for this project, its not possible to tell how many items there will be. help pl0x? thanks guys!