示例#1
0
        private void btn_Start_Click(object sender, EventArgs e)
        {
            if (!int.TryParse(tb_TimeToWork.Text, out Exception))
            {
                MessageBox.Show("Please enter a number, Boomer!!");
            }
            else
            {
                timeToWork = int.Parse(tb_TimeToWork.Text);
            }
            CursorMove cursorMove = new CursorMove(timeToWork);

            cursorMove.CursorEvent();
        }
示例#2
0
        private void btn_LongTime_Click_Click(object sender, EventArgs e)
        {
            CursorMove cursorMove = new CursorMove(timeToWork);

            cursorMove.CursorEvent2();
        }