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.

適用於