private void CoverDownloader_CoversDownloadCancelled(object sender, CoverDownloadCompletedEventArgs e) { if (string.IsNullOrEmpty(WebBrowser.DocumentText)) { return; } WebBrowser.Document?.InvokeScript("__onCoversDownloadCancelled", e.ToObjectArray()); }
protected virtual void OnCoversDownloadCompleted(CoverDownloadCompletedEventArgs e) { CoversDownloadCompleted.Invoke(this, e); }
private void Job_CoversDownloadCancelled(object sender, CoverDownloadCompletedEventArgs e) { CoversDownloadCancelled.Invoke(sender, e); }