Hi! I made context menu for UltrawinGrid, when i click right mouse button then the context menu open.
This is the code that I use for my menu:
Private Sub ShowContextMenu(ByVal mousePoint As Point)
Dim cMenu As ContextMenu = New ContextMenu
cMenu.MenuItems.Add("Delete")
cMenu.MenuItems.Add("Copy")
cMenu.MenuItems.Add("Paste")
cMenu.Show(UltraGrid1, mousePoint)
End Sub
Now I want when I click on context menu item, for example delete, to call function that gone do something, how i can do this? How I can make connection between menu items and functions?