Juraj's profileYuraj's BlogPhotosBlogListsMore ![]() | Help |
|
|
October 31 Pauza v C#/// <summary> /// Pause execution for given time (ms). /// It doesn't freeze GUI. /// </summary> /// <param name="ms">Milliseconds.</param> public static void Pause(int ms) { int startTick = Environment.TickCount; while (true) { if ((Environment.TickCount - startTick) >= ms) break; //Refresh Application Application.DoEvents(); } } TrackbacksThe trackback URL for this entry is: http://yurajn.spaces.live.com/blog/cns!A8076C9F30FAEE6D!215.trak Weblogs that reference this entry
|
|
|