My form contains a UserControl, and for now on this I have a MouseDown event handler, which works with a MouseEventArgs. However, I'd like to get an event handler with a MouseButtonEventArgs, so that I can access ClicksCount property to distinguish between simple and double clicking. For now I've some code found on StackOverflow that ways for double click time to be elapsed to know how many times were clicked but this causes redraw being delayed, so it's not user-friendly. Redraw is speedy in itself.
The UserControl displays a background image and small images drawn onto, from user clicks.
So how can I bind an event to an event handler that accepts a MouseButtonEventArgs event? MouseDown, both on UserControl or parent Form, only likes a MouseEventArgs.
I use pure Winforms, not WPF for this project.
Thank you for helping me finding.