Intersoft ClientUI Documentation
OnDownloading Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > ResourceDownloader Class : OnDownloading Method






percentCompleted
bytesReceived
totalBytes
Called when the download operation is in progress.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub OnDownloading( _
   ByVal percentCompleted As Integer, _
   ByVal bytesReceived As Long, _
   ByVal totalBytes As Long _
) 
Visual Basic (Usage)Copy Code
Dim instance As ResourceDownloader
Dim percentCompleted As Integer
Dim bytesReceived As Long
Dim totalBytes As Long
 
instance.OnDownloading(percentCompleted, bytesReceived, totalBytes)
C# 
protected virtual void OnDownloading( 
   int percentCompleted,
   long bytesReceived,
   long totalBytes
)
Delphi 
protected procedure OnDownloading( 
    percentCompleted: Integer;
    bytesReceived: Int64;
    totalBytes: Int64
); virtual; 
JScript 
protected function OnDownloading( 
   percentCompleted : int,
   bytesReceived : long,
   totalBytes : long
);
Managed Extensions for C++ 
protected: virtual void OnDownloading( 
   int percentCompleted,
   long bytesReceived,
   long totalBytes
) 
C++/CLI 
protected:
virtual void OnDownloading( 
   int percentCompleted,
   int64 bytesReceived,
   int64 totalBytes
) 

Parameters

percentCompleted
bytesReceived
totalBytes

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.