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