private void StopButton_Click(object sender, RoutedEventArgs e) { if (MyME.CanPause) { MyME.Stop(); } }
private void MyME_MediaEnded(object sender, RoutedEventArgs e) { MyME.Position = new TimeSpan(0, 0, 1); MyME.Play(); }
private void PlayButton_Click(object sender, RoutedEventArgs e) { MyME.Play(); }