Esempio n. 1
0
        private void btnPressAndCapture_Click(object sender, EventArgs e)
        {
            var t = new Touch(new NoOpLogger());

            t.MoveTo(new Point(int.Parse(this.txtX.Text), int.Parse(this.txtY.Text)));

            t.TouchDown();
            t.MoveTo(new Point(int.Parse(this.txtX.Text), int.Parse(this.txtY.Text)));

            Bot.BotApplication.Wait(200);
            btnCapture_Click(sender, e);
            t.TouchUp();
            t.EndTouchData();
        }