This is MSDN sample I converted to Visual Studio 2010 with some minor changes.

When you run the application, you will see following output.
CirclesAnimation.gif