private void OnButtonPlayClick(object sender, EventArgs e)
 {
     if (_currentEpisode == null)
     {
         return;
     }
     _podcastPlayer.LoadEpisode(_currentEpisode);
     _podcastPlayer.Play();
 }
示例#2
0
 public override void Execute()
 {
     player.Play();
 }
 private void OnButtonPlayClick(object sender, EventArgs e)
 {
     podcastPlayer.Play();
 }