public Form1()
        {
            InitializeComponent();
            Properties.Settings.Default.strclassName  = "Qt5QWindowIcon";
            Properties.Settings.Default.strWindowName = "歐root";
            Properties.Settings.Default.Save();
            textBox1.Text      = "歐root";
            textBox2.Text      = "Qt5QWindowIcon";
            pictureBox1.Image  = new Bitmap(1, 1);
            pictureBox1.Width  = 360;
            pictureBox1.Height = 600;

            //backgroundWorker1.RunWorkerAsync();
            AdbHandler.setNoxPort(nox_path);
        }
Пример #2
0
 public static void doWork()
 {
     AdbHandler.tap(ImageHandler.findImgLocation("D://pad.png", 5));
 }
        private void button2_Click(object sender, EventArgs e)
        {
            Thread tap = new Thread(() => AdbHandler.swap(200, 300, 300, 400));

            tap.Start();
        }
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     AdbHandler.tap(mouseDownX, mouseDownY);
 }
 private void button3_Click(object sender, EventArgs e)
 {
     AdbHandler.tap(ImageHandler.findImgLocation("D://pad.png"));
 }