void removeButton_MouseButtonClick(Widget source, EventArgs e)
 {
     if (offsetSequence != null)
     {
         OffsetKeyframeData data = timelineView.CurrentData as OffsetKeyframeData;
         timelineView.removeData(data);
         offsetSequence.removeFrame(data.KeyFrame);
     }
 }
        void timelineView_ActiveDataChanged(object sender, EventArgs e)
        {
            foreach (KeyframeMovableObject mover in keyframeMovers)
            {
                simObjectMover.removeMovableObject(mover);
            }
            keyframeMovers.Clear();
            OffsetKeyframeData data = timelineView.CurrentData as OffsetKeyframeData;

            if (data != null)
            {
                foreach (var movementSection in data.KeyFrame.MovableSections)
                {
                    var mover = new KeyframeMovableObject(movementSection);
                    if (Player != null)
                    {
                        mover.Follower = player.Follower;
                    }
                    simObjectMover.addMovableObject(Guid.NewGuid().ToString(), mover);
                    keyframeMovers.Add(mover);
                }
            }
        }