예제 #1
0
        /**
         * Performs the number of mouse clicks each time, defined in the user settings
         * Waits for a random amount of time, defined by the user's minimum and maximum
         * */
        private void clickAndWait()
        {
            for (int i = 0; i < (decimal)Settings.Default["NumberOfClicksEachTime"]; i++)
            {
                MouseActions.MouseClick();
            }

            Thread.Sleep(random.Next((int)minMax[0], (int)minMax[1]));
        }
예제 #2
0
 /**
  * Performs a mouse click
  * Waits for a random amount of time, defined by the user's minimum and maximum
  * */
 private void clickAndWait()
 {
     MouseActions.MouseClick();
     Thread.Sleep(random.Next((int)minMax[0], (int)minMax[1]));
 }