protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
        {
            base.OnCollectionChanged(e);

            if (e.Action == NotifyCollectionChangedAction.Move)
            {
                return;
            }

            if (e.NewItems != null)
            {
                foreach (CAnimation newAnim in e.NewItems)
                {
                    newAnim.AnimationChanged += AnimationChanged;
                }
            }

            if (e.OldItems != null)
            {
                foreach (CAnimation oldAnim in e.OldItems)
                {
                    oldAnim.AnimationChanged -= AnimationChanged;
                }
            }

            AnimationCollectionChanged?.Invoke(this, null);
        }
 private void AnimationChanged(object sender, EventArgs e)
 {
     AnimationCollectionChanged?.Invoke(this, null);
 }