I need to differentiate between a single click and a double click but I need to do this during the click event. I need this because if there’s a single click I want to call Function A and if there’s a double click I want to call Function B. But Function A must be called only in case of a single click.
How may I achieve this using standard Winforms in C# (or VB)?
click and double click can be handled seperately
click -> http://msdn.microsoft.com/en-US/library/system.windows.forms.control.click(v=vs.80).aspx
double click -> http://msdn.microsoft.com/en-US/library/system.windows.forms.button.doubleclick(v=vs.80).aspx