Force the program to pause

[] Paws = new[];
public void Paws(ulong Milliseconds)
{
 System.DateTime WaitUntil = Now + new TimeSpan(0, 0, 0, 0, Milliseconds);
 while (Now < WaitUntil) {
  Threading.Thread.Sleep(18);
  Application.DoEvents();
 }
}

No comments:

Post a Comment