private void UpdateAnimatedImage (object sender, EventArgs e)
{
// Check if we have a handle again, since it may have gotten
// destroyed since the last time we checked.
if (Parent == null || !Parent.IsHandleCreated)
return;
ImageAnimator.UpdateFrames (image);
Invalidate ();
}