Exemple #1
0
 private void OnMouseDownStopMedia(object sender, RoutedEventArgs e)
 {
     Mp3MediaElement.Stop();
     EllStoryBoard.Pause();
     InitializePropertyValues();
 }
Exemple #2
0
 private void OnMouseDownPauseMedia(object sender, RoutedEventArgs e)
 {
     Mp3MediaElement.Pause();
     EllStoryBoard.Pause();
 }
Exemple #3
0
 private void Element_MediaEnded(object sender, RoutedEventArgs e)
 {
     Mp3MediaElement.Stop();
     timelineSlider.Value = 0;
 }
Exemple #4
0
 private void OnMouseDownPlayMedia(object sender, RoutedEventArgs e)
 {
     Mp3MediaElement.Play();
     EllStoryBoard.Begin();
 }
Exemple #5
0
 public RelaxPage()
 {
     this.InitializeComponent();
     Mp3MediaElement.Play();
 }