Click here to Skip to main content
15,917,862 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to interact with hardware using C#.net

I want to interact with keyboard and mouse .
Posted
Comments
Steve44 23-Mar-13 3:01am    
Please provide more detail. What environment, WPF, WinForms, Silverlight? What scenarios do you want to cover? What have you tried so far?

1 solution

C# provides many, many ways of interacting with keyboard and mouse: it just depends on what you want to do.
The simplest way to find out is a add the control you are interested in to your form in the designer, then look at the Events page in the Properties Pane. You will find quite a few events which can the the mouse or keyboard influence the control behaviour.

If you want some specific interaction, then you need to be more specific about what you are trying to do.
 
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