Button click event keep executing while clicked


I have a tochscreen application written on windows c#, however i have a form that consist of button , text box,, i want user when click by his finger to the button increase the numeric value in textbox by one ,, but if keep his finger on the button it keeps increasing ,,,

Any ideas how i can do that?
Abu HamdanEnterprise Architect, PM ExpertAsked:
Who is Participating?
andrewjbConnect With a Mentor Commented:
..Start a timer on the mousedown event; stop it on the mouseup event. Increment the value every timer tick...
Abu HamdanEnterprise Architect, PM ExpertAuthor Commented:
Thanks :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.