コード例 #1
0
        private async void Timer_Tick(object sender, object e)
        {
            //throw new NotImplementedException();
            if (MediaPlayer.Source != null)
            {
                processMedia.Minimum = 0;
                processMedia.Maximum = MediaPlayer.NaturalDuration.TimeSpan.TotalSeconds;
                processMedia.Value   = MediaPlayer.Position.TotalSeconds;
                string changedStatus = await player.ChangedStatus(MediaPlayer);

                txtMediaTimeStatus.Text = changedStatus;
            }
        }