1
I need to perform a function exactly by pressing the button.
For the common function Botao1_Click
it only executes when you release the click, I mean, if you click and hold a little time pressed it does not perform. If you hold 2 seconds by pressing, the function also does not run; it is only called after you release the click.
private void Button1_Click(object sender, EventArgs e)
{ minha_funcao(); }
Solved. The correct option is to trigger the mouseDown event.
– mrsoliver