User Name:
Password:
Remember me on this computer
Email:
Hello,
I have a Windows forms application where I need to use animation for threads. I want to use a thread to show a ball moving across the screen. This thread will compute the new position of the ball, asks the system to repaint the screen showing the ball in the new position, and sleeps for a fraction of a second so I can see the ball moving at human speed. Any idea about this?
Please help.
3 MONTHS FREE & FREE SETUP on ASP.NET 3.5/2.0 Web Hosting! Windows 2008 & 2003 Servers Available, MS SQL 2008/2005, .NET 3.5 SP1, Entity Framework, LINQ, Silverlight 2.0, 30 Day Money Back Guarantee – Click Here!
Nicolai,
What specifically are you having trouble with? For an "easy" way to do this, you could always use a timer and have the tick event modify your ball location and repaint.