Example #1
0
        private void CoverDownloader_CoverDownloadReportProgress(object sender, CoverDownloadReportProgressEventArgs e)
        {
            if (string.IsNullOrEmpty(WebBrowser.DocumentText))
            {
                return;
            }

            WebBrowser.Document?.InvokeScript("__onCoverDownloadReportProgress", e.ToObjectArray());
        }
Example #2
0
File: Taskbar.cs Project: NHxD/NHxD
        private void CoverDownloader_CoverDownloadReportProgress(object sender, CoverDownloadReportProgressEventArgs e)
        {
            if (loadCount >= loadTotal)
            {
                return;
            }

            ++loadCount;

            UpdateProgressBarValue();
        }
Example #3
0
 protected virtual void OnCoverDownloadReportProgress(CoverDownloadReportProgressEventArgs e)
 {
     CoverDownloadReportProgress.Invoke(this, e);
 }
Example #4
0
 private void Job_CoverDownloadReportProgress(object sender, CoverDownloadReportProgressEventArgs e)
 {
     CoverDownloadReportProgress.Invoke(sender, e);
 }