void queryExecutor_TableLoadProgressChanged(object sender, ProgressEventArgs args) { _loadDataWorker.ReportProgress(args.ProgressValue); }
protected virtual void OnTableLoadProgressChanged(ProgressEventArgs args) { ProgressEventHandler handler = TableLoadProgressChanged; if (handler != null) handler(this, args); }
private void queryExecutor_TableLoadProgressChanged(object sender, ProgressEventArgs args) { Dispatcher.Invoke(new Action(() => ProgressValue = args.ProgressValue)); OnPropertyChanged("ProgressValue"); }