diff -r 09700eb26702 -r e78e40b9d761 src/FingersDance.Control.Player/UserControlPlayer.xaml.cs --- a/src/FingersDance.Control.Player/UserControlPlayer.xaml.cs Fri Oct 16 22:19:24 2009 +0200 +++ b/src/FingersDance.Control.Player/UserControlPlayer.xaml.cs Sun Oct 18 17:42:21 2009 +0200 @@ -29,7 +29,7 @@ #endregion public event EventHandler PlayerOpened; - + public event EventHandler PlayerStopOrPause; public UserControlPlayer() { this.InitializeComponent(); @@ -73,6 +73,8 @@ public void playerPause() { MediaElementVideo.Pause(); + if (PlayerStopOrPause != null) + PlayerStopOrPause(this, new EventArgs()); } public void playerPlay() { @@ -81,10 +83,13 @@ public void playerStop() { MediaElementVideo.Stop(); + if (PlayerStopOrPause != null) + PlayerStopOrPause(this, new EventArgs()); } #endregion + #region Button Simple Player Actions private void ButtonPlayPause_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e) {