抖动轨迹
线程实现抖动
for (int i = 0; i < 11; i++)
{
this.Location = new Point(this.Left + 10, this.Top);
Thread.Sleep(10);
this.Location = new Point(this.Left, this.Top + 10);
Thread.Sleep(10);
this.Location = new Point(this.Left - 10, this.Top);
Thread.Sleep(10);
this.Location = new Point(this.Left - 10, this.Top);
Thread.Sleep(10);
this.Location = new Point(this.Left, this.Top - 10);
Thread.Sleep(10);
this.Location = new Point(this.Left, this.Top - 10);
Thread.Sleep(10);
this.Location = new Point(this.Left + 10, this.Top);
Thread.Sleep(10);
this.Location = new Point(this.Left + 10, this.Top);
Thread.Sleep(10);
this.Location = new Point(this.Left, this.Top + 10);
Thread.Sleep(10);
this.Location = new Point(this.Left - 10, this.Top);
Thread.Sleep(10);
}