Mmm, you're probably calling Thread.Sleep from the UI thread, of course the application freezes if the thread sleeps.
Normally you should use a timer instead of a loop + Thread.Sleep.
No comments:
Post a Comment