Beispiel #1
0
 internal void OnTracksAdded(TracksAddedEventArgs e)
 {
     TracksAdded.RaiseEvent(this, e);
 }
Beispiel #2
0
 internal void OnTracksAdded(TracksAddedEventArgs e)
 {
     TracksAdded.RaiseEvent(this, e);
 }
Beispiel #3
0
        private void OnTracksAdded(object sender, TracksAddedEventArgs e)
        {
            for (int i = 0; i < e.Tracks.Length; i++)
            {
                var track = e.Tracks[i] as IPlaylistTrack;
                int trackIndex = e.TrackIndices[i];

                if (track != null)
                {
                    InsertAt(trackIndex, track);
                }
            }
        }