#region 方法一 Point first = this.Location; for (int i = 0; i < 50; i++) { Application.DoEvents(); Random ran = new Random(); Point p = new Point(this.Location.X + ran.Next(10) - 4, this.Location.Y + ran.Next(10) - 4); System.Threading.Thread.Sleep(10);