void AddNotifyTrack(int index, NotifyEditControl notifyCtrl, bool changeTrackCount = true)
 {
     mNotifyEditeControlList.Insert(index, notifyCtrl);
     NotifyStackPanel.Children.Insert(index, notifyCtrl);
     for (int i = index + 1; i < mNotifyEditeControlList.Count; ++i)
     {
         mNotifyEditeControlList[i].TrackNum = i;
     }
     if (changeTrackCount)
     {
         mCurrentResourceInfo.TrackCount = mNotifyEditeControlList.Count;
     }
 }
        NotifyEditControl CreateNotifyTrack(int trackNum)
        {
            var notifyTrack = new NotifyEditControl();

            notifyTrack.TrackNum                     = trackNum;
            notifyTrack.SkeletonAsset                = mSkeletonAsset;
            notifyTrack.EditorAnimationClip          = mEditorAnimationClip;
            notifyTrack.AnimSlider.Maximum           = AnimationPlayingCtrl.TotalFrame;
            notifyTrack.AnimSlider.AnimationDuration = mEditorAnimationClip.AnimationClip.DurationInMilliSecond;
            notifyTrack.OnTickBarScaling            += NotifyTrack_OnTickBarScaling;
            notifyTrack.OnTrackAdd                  += NotifyTrack_OnTrackAdd;
            notifyTrack.OnTrackRemove               += NotifyTrack_OnTrackRemove;
            notifyTrack.OnMouseIn                   += NotifyTrack_OnMouseIn;
            notifyTrack.OnMouseOut                  += NotifyTrack_OnMouseOut;
            notifyTrack.OnNotifyPickUp              += NotifyTrack_OnNotifyPickUp;
            notifyTrack.OnNotifyDropDown            += NotifyTrack_OnNotifyDropDown;
            notifyTrack.OnAddNotify                 += NotifyTrack_OnAddNotify;
            notifyTrack.OnRemoveNotify              += NotifyTrack_OnRemoveNotify;
            notifyTrack.OnChangeNotifyTrack         += NotifyTrack_OnChangeNotifyTrack;
            notifyTrack.OnNotifySelected            += NotifyTrack_OnNotifySelected;
            return(notifyTrack);
        }