Пример #1
0
 private void OnPlaySong(PlaySongMessage msg)
 {
     MediaPlayer.Volume      = msg.Volume;
     MediaPlayer.IsRepeating = msg.IsRepeating;
     MediaPlayer.Play(msg.Song);
 }
Пример #2
0
 private void OnPlaySong(PlaySongMessage msg)
 {
     MediaPlayer.Volume = msg.Volume;
     MediaPlayer.IsRepeating = msg.IsRepeating;
     MediaPlayer.Play(msg.Song);
 }