
#region API延时函数
[DllImport("kernel32.dll")]
static extern uint GetTickCount();
static void Delay(uint ms)
{
uint start = GetTickCount();
while (GetTickCount() - start < ms)
{
Application.DoEvents();
}
}
#endregion



by: 发表于:2018-01-24 09:46:05 顶(0) | 踩(0) 回复
??
回复评论