Esempio n. 1
0
        private void AdventuresStart_Click(object sender, EventArgs e)
        {
            var sendColorPoint = new Point(grabLocations[GrabType.Send].X - 5, grabLocations[GrabType.Send].Y);

            _sendColor = _windowTools.GetColorAt(grabLocations[GrabType.Send]);
            FillSlots();
            var rpeat = int.Parse(repeatCount.Text) - 1;

            repeatCount.Text = rpeat.ToString();

            adventureTimer.Interval = int.Parse(timerSeconds.Text) * 1000;
            if (adventureTimer.Interval > 40000 && rpeat > 0)
            {
                _startedAdventures = true;
                adventureTimer.Start();
            }
        }