private void ShakeWindow()
        {
            Random ran = new Random();
            System.Drawing.Point point = this.Location;
            for (int i = 0; i < 30; i++)
            {
                this.Location = new System.Drawing.Point(point.X + ran.Next(8), point.Y + ran.Next(8));
                System.Threading.Thread.Sleep(15);
                this.Location = point;
                System.Threading.Thread.Sleep(15);
            }
        }

相关文章:

  • 2021-09-12
  • 2021-04-17
  • 2021-04-24
  • 2021-12-17
  • 2022-01-19
  • 2022-02-24
  • 2022-12-23
  • 2021-12-14
猜你喜欢
  • 2021-11-07
  • 2021-06-30
  • 2021-07-07
  • 2021-06-09
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
相关资源
相似解决方案