Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I am using mouseup,down & doubleClick event of picturebox in which i have to count the clicks of mouse.I need single & double clicks of mouse.what should i do?
I am using e.clicks but it always gives single click.Please suggest me for double click.

Thanks.
Posted

1 solution

e.click for single click
e.dblclick for double click
e.mouseover for Mouse Up

try these, if any confusion pls tell me. You can describe your problem in detail, if not solve your problem.
 
Share this answer
 
Comments
KIDYA 23-Dec-11 2:44am    
You are right.Here I declared picturebox click and double click events but when I single click on picturebox it works fine.But when i double click on picturebox it executes doubleclick event as well as click event.So I dont want to execute click event on double click of picture box.

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