private void FrameUpdatedCallback() { ImageAnimator.UpdateFrames(); if (ProcessGifSource != null) { ProcessGifSource.Freeze(); } ProcessGifSource = GetProcessGifSource(); FrameUpdatedEvent?.Invoke(); }
void Update() { FrameUpdatedEvent?.Invoke(this, EventArgs.Empty); }