Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to Call Click Event In KeyDown Event....
How it will possible..? in C# windows application
Posted
Comments
Pheonyx 6-Jan-14 4:48am    
You are better to move the code in the "click event" into a method, then have the click event and the keydown event call that method.
Karthik_Mahalingam 6-Jan-14 4:48am    
Provide more information..
jayeshhh 6-Jan-14 4:53am    
Actually i want to call toolstrip_Item Click Event in my MDI Form....using F3 Shortcut Key using KeyDown Event
BillWoodruff 6-Jan-14 6:08am    
Please try and make your question complete and specific.

Do you want to create a Click on an MDIParentForm ToolStripMenuItem from one of its MDIChild Forms ?

Or, are you asking how to simulate a Click in code in the MDIParentForm ?

This is quit complicated , but you can create common function and call that function from both the event.
 
Share this answer
 
Actually i want to call toolstrip_Item Click Event in my MDI Form....using F3 Shortcut Key using KeyDown Event
 
Share this answer
 
Comments
BillWoodruff 6-Jan-14 5:31am    
Please add additional information about your original question to the question, rather than posting it here as a "solution."

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