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 (!IsHandleCreated) return; ImageAnimator.UpdateFrames (image); Refresh (); }