protected void OnPhotoSetDownloadProgressChanged(PhotoSetDownloadProgress progress) { if (PhotoSetDownloadProgressChanged != null) { PhotoSetDownloadProgressChanged(this, progress); } }
static void downloader_PhotoSetDownloadProgressChanged(object sender, PhotoSetDownloadProgress e) { Console.WriteLine("{0} of {1} photos have been downloaded.", e.CurrentPhotoNumber, e.PhotosCount); }