C# button onclick

  • Thread starter Thread starter Itzik
  • Start date Start date
I

Itzik

Hi
I have textbox and button on my Application
On button click textbox value increment.
I want to keep button down and during increment my value in textbox.
How can i do that ?
When i keep it down click event occur only one tyme.

Thank you ?
 
Itzik said:
Yes i know
but i need big buttons it is touch screen
Any idea ?

You could use the MouseDown and MouseUp events, triggering a thread that
increments a value.
 
Start a timer in the MouseDown event handler and stop it in the MouseUp event
handler. Increment the value on each tick of the timer.
 
Back
Top