Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.Windows.Forms.Application.DoEvents();
- public static void pauseit_ms(ref int milliseconds)
- {
- try
- {
- Sleep(milliseconds / 2);
- System.Windows.Forms.Application.DoEvents();
- Sleep(milliseconds / 2);
- }
- catch (Exception exc)
- {
- LogException("pauseit_ms", exc);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement