Beispiel #1
0
        private void GalleryDownloader_GalleryDownloadCancelled(object sender, GalleryDownloadCancelledEventArgs e)
        {
            if (string.IsNullOrEmpty(WebBrowser.DocumentText))
            {
                return;
            }

            WebBrowser.Document?.InvokeScript("__onGalleryDownloadCancelled", e.ToObjectArray());
        }
Beispiel #2
0
 private void Job_GalleryDownloadCancelled(object sender, GalleryDownloadCancelledEventArgs e)
 {
     GalleryDownloadCancelled.Invoke(sender, e);
 }
Beispiel #3
0
 protected virtual void OnGalleryDownloadCancelled(GalleryDownloadCancelledEventArgs e)
 {
     GalleryDownloadCancelled.Invoke(this, e);
 }