I'm working on a project that have a touchscreen monitor.
I have 4 picturebox with two event(Mouse Down , Mouse click ).
in this case, when i click on the picturebox another picture will visible.(this is easy part for me) .
now i want to have a mouseDown event with this condition: if mousedown for 5second , a message box that have Yes or no.
yes for Picturebox.visible = false;
No for Picturebox.visible = false;.
i dont know how to do it.i tried to enable a timer for mouseDown and disable for mouse up. but not worked fine.
for a short question:
how to mouse down for 5second, and something happen? sorry for this rookie question, im new C# programmer & having some hard time.
ty
