In The Hand LtdIn The Hand
ProgressChangedEventArgs Class
NamespacesInTheHand.ComponentModelProgressChangedEventArgs
.NET Components for Mobility
Provides data for the ProgressChanged event.
Declaration Syntax
C#Visual Basic
public class ProgressChangedEventArgs : EventArgs
Public Class ProgressChangedEventArgs _
	Inherits EventArgs
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ProgressChangedEventArgs(Int32, Object)
Initializes a new instance of the ProgressChangedEventArgs class.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ProgressPercentage
Gets the asynchronous task progress percentage.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UserState
Gets a unique user state.

Examples
The following code example shows how to use the ProgressChangedEventArgs class. This example is part of a larger example for the BackgroundWorker class.
CopyVB.NET
' This event handler updates the progress bar.
Private Sub backgroundWorker1_ProgressChanged( _
  ByVal sender As Object, ByVal e As ProgressChangedEventArgs) _
  Handles backgroundWorker1.ProgressChanged

    Me.progressBar1.Value = e.ProgressPercentage

End Sub
CopyC#
// This event handler updates the progress bar.
private void backgroundWorker1_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
    this.progressBar1.Value = e.ProgressPercentage;
}
Inheritance Hierarchy

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0