ImageAnimator.StopAnimate(Image, EventHandler) 方法

定义

终止正在运行的动画。Terminates a running animation.

public:
 static void StopAnimate(System::Drawing::Image ^ image, EventHandler ^ onFrameChangedHandler);
public static void StopAnimate (System.Drawing.Image image, EventHandler onFrameChangedHandler);
static member StopAnimate : System.Drawing.Image * EventHandler -> unit

参数

image
Image

要停止动画处理的 Image 对象。The Image object to stop animating.

onFrameChangedHandler
EventHandler

一个 EventHandler 对象,它指定在动画帧发生更改时调用的方法。An EventHandler object that specifies the method that is called when the animation frame changes.

适用于