コード例 #1
0
 private void CreateSong()
 {
     Song                  = new Core.Model.Song();
     Song.TrackAdded      += (sender, track) => OnTrackAdded(track);
     Song.TrackRemoved    += (sender, track) => OnTrackRemoved(track);
     Song.PositionUpdated += (s, position) => UpdatePosition = true;
 }
コード例 #2
0
 private void OnPlaying(Core.Model.Song song)
 {
     SetAudioStatus(Core.Model.AudioStatus.Playing);
 }