[RESOLVED] Help with ContextMenuStrip on DataGridView
Hello,
I am formerly a VB6 programmer learning the .Net world of VB2008. I am confused and need assistance with the following.
I am attempting to get a ContextMenuStrip to work on a DataGridView. I want my program to add the ContextMenuStrip and fill in its menu items. I would then like a right-click on a menu item to take me to a unique click event to handle the specific menu action.
The example below is a simple form with a datagridview (1) and contextmenustrip (1). I could not get it to work without adding the ContextMenuStrip control manually.
While it works it’s not correct. I'd like help adding the ContextMenuStrip programmatically, associating it with the datagridview and then having unique event handlers for the unique menu items and their associated right click.