vendredi 3 avril 2015

tracking mouse events not related to controls in c#

I need to write event handlers for tracking mouse movements, but the mouse-down and mouse-up events are not related to any Control object. What is the generic way to do this? On researching this question on StackOverflow, I found a lot of information about mouse events related to specific controls, such as the PictureBox, but I don't find any on C# generic mouse listeners. I did find a much older question, but it wasn't related to C#.


Aucun commentaire:

Enregistrer un commentaire