Click here to Skip to main content
15,441,078 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to execute a command in C# for a specific running window for Exp :'Ctrl + Alt + F5'to refresh an application window
Thanx in advance...
Posted

1 solution

Enable KeyPreview on the form and intercept KeyDown event on the form

if (e.keycode = Keys.F5 && e.Control && e.Alt)
// refresh code
 
Share this answer
 

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