If you want an event any time a key is pressed, you could use a global key hook. See http://www.codeproject.com/csharp/globalhook.asp for an implementation.
Or do you want to be able to read the current keyboard state from a specific point in the code?
|