Example #1
0
 private void OnCompleted()
 {
     Dispatcher.Invoke(() =>
     {
         ClientFileItem.SetText("Ready!");
         ClientFileItem.SetProgress(0);
         ClientFileItem.SetTotalProgress(100);
         PlayButton.IsEnabled = true;
     });
 }
Example #2
0
 private void OnTotalProgressChange(double d) => Dispatcher.Invoke(() => ClientFileItem.SetTotalProgress(d));