Esempio n. 1
0
 internal override void PointerUp(Microsoft.Xna.Framework.Vector2 position, PointerType pointerType)
 {
     if (player != null && player.IsPlaying)
     {
         player.Stop();
     }
 }
Esempio n. 2
0
 void storyboard_OnChangeMovieStatus(bool shouldPlay)
 {
     if (shouldPlay)
     {
         if (player.IsPlaying && player.IsPaused)
         {
             player.Play();
         }
     }
     else
     {
         if (player.IsPlaying)
         {
             player.Stop();
         }
     }
 }