您的位置: 首页 > IT文章 > C# 延时不卡界面 C# 延时不卡界面 分类: IT文章 • 2022-09-02 11:03:49 public void Delay(int milliSecond) { int start = Environment.TickCount; while (Math.Abs(Environment.TickCount - start) < milliSecond) { Application.DoEvents(); } }