0
I need to do an action inside a Button, when the person presses and holds with the left hand side of the mouse on the Button, increment a variable until release. Let go, to action.
Within the method of this Button, I want to increment the following variable:
int incrementar = 0;
incrementar++;
int valor = incrementar;
I don’t know c#, but by logic there must be the method that is called when you click and when you drop a button, in what is called when you click, you call another method that does a while(true), and in the drop you change the value to false
– Woton Sampaio
I don’t know what that method is, I tested a few here, but.. unsuccessfully.
– sYsTeM