Add Pop Up Menu Or Context Menu

narasimhakr

New member
Joined
May 30, 2006
Messages
4
Programming Experience
1-3
Hello

I have a requirement which is as follows:
There is a windows form and a datagrid in it, the grid is populated with data from a table.

Now i have been asked to add a pop up menu (or a context menu), that is when i right click the mouse we get a pop up, with the options like "copy, cut, paste", i need to create a control like this when i right click the mouse on my windows form.

To be frank not getting any idea on how to proceed on this, any input will be of great help.

thank you
 
Start by adding the ContextMenu control from the Toolbox. Select the added control and write in the items, doubleclick each item and write the code you want for each operation. Select Datagrid and select in the contextmenu property.
 
Back
Top