Esempio n. 1
0
        public void Update()
        {
            ITrackSimple currentTrack = mediaPlayer.CurrentlyPlaying();

            LocalFileName.Text = currentTrack.LocalFileName;
            if (currentTrack is ITrack)
            {
                TrackName.Text = ((ITrack)currentTrack).TrackName;
                Artist.Text    = ((ITrack)currentTrack).Artist;
            }
            else
            {
                TrackName.Text = "--No data--";
                Artist.Text    = "--No data--";
            }

            //Insert code here to update GUI Interface with track information
        }