Click here to Skip to main content
15,749,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have one user control design form1 it's have contextmenustrip items are Load customer,Zoom in,Zoom Out,Exit

the user control use to another form2 so i want to contextmenustrip in mouse right click event and i click Customer Load = it call to form2 Load customer()method

same Zoom in,Zoom Out,Exit

if (e.Button == MouseButtons.Right)
               int x = Cursor.Position.X;
               int y = Cursor.Position.Y;

it will show context menu strip mouse right click event

how to call Events

1.Customer Load= ?
2.Zoom IN= ?
3.Zoom Out= ?

from another form methods like zoomin(),Zoomout(),LoadCuastomer()
Updated 16-Oct-12 20:48pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900