private void ThreadWatcher_DownloadStatus(ThreadWatcher watcher, DownloadStatusEventArgs args) { this.BeginInvoke(() => { SetDownloadStatus(watcher, args.DownloadType, args.CompleteCount, args.TotalCount); SetupWaitTimer(); }); }
private void OnDownloadStatus(DownloadStatusEventArgs e) { try { DownloadStatus?.Invoke(this, e); } catch { } }