Пример #1
0
        private void Btn_acc_start_Click(object sender, EventArgs e)
        {
            //Process.GetProcessesByName("").Where(x => x.ProcessName == "").Single().Kill();

            Cursor.Position = CustomHelper.GetUserKords();
            ConfigForm.mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP, (long)Cursor.Position.X, (long)Cursor.Position.Y, 0, 0);

            SendKeys.Send(acc.Username);

            Thread.Sleep(2000);

            Cursor.Position = CustomHelper.GetPasswordKords();
            ConfigForm.mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP, (long)Cursor.Position.X, (long)Cursor.Position.Y, 0, 0);

            SendKeys.Send(acc.Password);
        }