Example #1
0
 private void MoveToClickOk_Tick(object sender, EventArgs e)
 {
     CautoIt.mMove(961, 640);
     mouseDownToOk.Start();
     MoveToClickOk.Stop();
 }
Example #2
0
        private void button2_Click(object sender, EventArgs e) //DURDUR BUTON'U
        {
            moveToPlay.Stop();
            mouseDownToPlay.Stop();
            mouseUpToPlay.Stop();
            checkSearchingDeviceColor.Stop();
            moveToConfirm.Stop();
            mouseDownToConfirm.Stop();
            mouseUpToConfirm.Stop();
            checkTurnButtonColor.Stop();
            moveToMiddleCard.Stop();
            mouseDownToMiddleCard.Stop();
            mouseUpToMiddleCard.Stop();
            moveToDropCard.Stop();
            mouseDownToDropCard.Stop();
            mouseUpToDropCard.Stop();
            moveToClickEndTurn.Stop();
            mouseDownToEndTurn.Stop();
            mouseUpToEndTurn.Stop();
            moveToClickEmptiness.Stop();
            clickEmptinessToClear.Stop();
            clickEmptinessAgain.Stop();
            moveToFindError.Stop();
            mouseDownToFindError.Stop();
            mouseUpToFindError.Stop();
            moveToOption.Stop();
            mouseDownToOption.Stop();
            mouseUpToOption.Stop();
            moveToConcede.Stop();
            mouseDownToConcede.Stop();
            mouseUpToConcede.Stop();
            moveToClearRanked.Stop();
            clickToClearRanked.Stop();
            moveToContinue.Stop();
            clickContinueToHome.Stop();
            bindEndToStart.Stop();

            moveToClickDesktop.Stop();
            clickToGoDesktop.Stop();
            moveToBattleNet.Stop();
            mouseDownToBattleNet.Stop();
            mouseUpToBattleNet.Stop();
            moveToClientPlay.Stop();
            mouseDownToClientPlay.Stop();
            mouseUpToClientPlay.Stop();
            moveToMinimizeBattleNet.Stop();
            mouseDownToMinimize.Stop();
            mouseUpToMinimize.Stop();
            moveToCheckScreen.Stop();
            clickCheckScreen.Stop();
            MoveToClickOk.Stop();
            mouseDownToOk.Stop();
            mouseUpToOk.Stop();
            moveToMenuPlay.Stop();
            mouseDownToClientPlay.Stop();
            mouseUpToClientPlay.Stop();
            bindResetToPlay.Stop();

            button1.Enabled         = true;
            cbRanked.Enabled        = true;
            cbExpKas.Enabled        = true;
            moveToContinue.Interval = 1000;
            yKordinat = 388;
        }