Пример #1
0
 public override void Dispose()
 {
     actionProperties.Dispose();
     movementSequenceController.PlaybackStarted        -= movementSequenceController_PlaybackStarted;
     movementSequenceController.PlaybackStopped        -= movementSequenceController_PlaybackStopped;
     movementSequenceController.PlaybackUpdate         -= movementSequenceController_PlaybackUpdate;
     movementSequenceController.CurrentSequenceChanged -= movementSequenceController_CurrentSequenceChanged;
     base.Dispose();
 }
 public override void Dispose()
 {
     foreach (KeyframeMovableObject mover in keyframeMovers)
     {
         simObjectMover.removeMovableObject(mover);
     }
     simObjectMover.Visible = false;
     Player = null;//Reset the player, this does a lot of cleanup so don't remove it
     actionProperties.Dispose();
     base.Dispose();
 }