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