This sample is an animated stopwatch. Click the green button to start the stopwatch and click the red button to stop it.