zoukankan      html  css  js  c++  java
  • 屏幕抖动一 下

            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);
                }
            }

  • 相关阅读:
    Java多线程、并发
    Java I/O系统
    Java注解
    Arthas(Java诊断工具)
    Java泛型
    Java内部类
    libpcap使用
    python文件服务器
    设计模式
    protobuf
  • 原文地址:https://www.cnblogs.com/haofaner/p/3772636.html
Copyright © 2011-2022 走看看