private void btnStop_Click(object sender, RoutedEventArgs e) { MediaEL.Stop(); btnPlay.Content = "Play"; IsPlaying(false); btnPlay.IsEnabled = true; }
private void Stop_Button_Click(object sender, RoutedEventArgs e) { MediaEL.Stop(); Play_Button.Content = "Play"; IsPlaying(false); Play_Button.IsEnabled = true; }
private void btnStop_Click(object sender, RoutedEventArgs e) { MediaEL.Stop(); btnPlay.Content = playButtonImageList[1]; IsPlaying(false); btnPlay.IsEnabled = true; //直接關掉 this.Close(); }