/// <summary>Called when this image is no longer being displayed.</summary> public void GoingOffDisplay() { if (Animated && Animation != null) { Animation.Stop(); Animation = null; } }
public override void GoingOffDisplay() { if (Animation != null) { Animation.Stop(); Animation = null; } }