private void timer1_Tick(object sender, EventArgs e) { timer1.Enabled = true; timer1.Start(); CurrPoint = new Point(Cursor.Position.X, Cursor.Position.Y); Cursor.Position = new Point(CurrPoint.X + 1, CurrPoint.Y + 1); label1.Text = CurrPoint.X.ToString(); label2.Text = CurrPoint.Y.ToString(); } 相关文章: