另外一个中得到延迟的方法

来源:互联网 发布:php 魔术引号 编辑:程序博客网 时间:2024/05/22 15:30

private System.Diagnostics.Stopwatch m_lastStiffTime;


 m_lastStiffTime = new System.Diagnostics.Stopwatch();
 m_lastStiffTime.Start();


if(m_lastStiffTime.ElapsedMilliseconds > m_stiffTime)


 m_lastStiffTime.Stop();



代码直接贴上 简单容易

0 0
原创粉丝点击