Exemplo n.º 1
0
 private void MainForm_MediaChanged(object sender, CurrentMediaChangedEventArgs e)
 {
     if (TimeMode == TimeMode.Remaining)
     {
         lblEnd.Text = Player.CurrentMediaTimeRemaining();
     }
     tbProgress.Value   = e.CurrentPosition;
     tbProgress.Maximum = e.Duration;
     lbOpenedFiles.SetSelected(UrlToIndex[e.Url], true);
     Timer.Start();
 }
Exemplo n.º 2
0
 protected virtual void OnMediaChanged(CurrentMediaChangedEventArgs e)
 {
     MediaChanged?.Invoke(this, e);
 }