Intersoft ClientUI Documentation
Downloading Event
See Also  Send Feedback
Intersoft.Client.Framework Namespace > ResourceDownloader Class : Downloading Event






Occurs when the download operation is in progress.

Syntax

Visual Basic (Declaration) 
Public Event Downloading As EventHandler(Of DownloadProgressEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As ResourceDownloader
Dim handler As EventHandler(Of DownloadProgressEventArgs)
 
AddHandler instance.Downloading, handler
C# 
public event EventHandler<DownloadProgressEventArgs> Downloading
Delphi 
public event Downloading: EventHandler; 
JScript 
In JScript, you can handle the events defined by another class, but you cannot define your own.
Managed Extensions for C++ 
public: __event EventHandler<DownloadProgressEventArgs*>* Downloading
C++/CLI 
public:
event EventHandler<DownloadProgressEventArgs^>^ Downloading

Event Data

The event handler receives an argument of type DownloadProgressEventArgs containing data related to this event. The following DownloadProgressEventArgs properties provide information specific to this event.

PropertyDescription
BytesReceived Gets the number of bytes received.
PercentCompleted Gets the percentage of the completed data download operation.
Resource (Inherited from Intersoft.Client.Framework.DownloadEventArgs) 
TotalBytes Gets the total number of bytes in a WebClient data download operation.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.