Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. System.Windows.Forms.Application.DoEvents();
  2.  
  3. public static void pauseit_ms(ref int milliseconds)
  4. {
  5. try
  6. {
  7. Sleep(milliseconds / 2);
  8. System.Windows.Forms.Application.DoEvents();
  9. Sleep(milliseconds / 2);
  10. }
  11. catch (Exception exc)
  12. {
  13. LogException("pauseit_ms", exc);
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement