0voto

Codigo de entrada para que un autoclick al ser activado realize un bucle while(VB2017)

 {
                bool flag1 = (uint)Form1.GetAsyncKeyState(114) > 0U;
                if (flag1)
                {
                    textBox1.Text = xPos.ToString();
                    textBox2.Text = yPos.ToString();
                    this.FindForm().Text = "X: " + this.textBox1.Text + ", Y: " + this.textBox2.Text;
                }
                if (flag1)
                    ;

                    bool flag2 = (uint)Form1.GetAsyncKeyState(112L) > 0U;
                if (flag2)
                    this.timer1.Start();              
            }

0voto

carlossevi comentado

¿Y cuál es la pregunta?

Por favor, accede o regístrate para responder a esta pregunta.

Otras Preguntas y Respuestas


...

Bienvenido a entre Desarrolladores, donde puedes realizar preguntas y recibir respuestas de otros miembros de la comunidad.

Conecta