The ProgressDialog type exposes the following members.

Constructors

  Name Description
Public method ProgressDialog
Initializes a new instance of the ProgressDialog class.

Methods

  Name Description
Public method CancelAsync
Requests cancellation of a pending background operation.
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public method Dispose
Releases all resources used by the Component.
(Inherited from Component.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method ReportProgress(Int32)
Raises the ProgressChanged event.
Public method ReportProgress(Int32, Object)
Raises the ProgressChanged event.
Public method Reset
Resets all properties to their default values.
Public method RunWorker(Form)
Starts executing of a background operation.
Public method RunWorker(Form, Object)
Starts executing of a background operation.
Public method ToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)

Extension Methods

  Name Description
Public Extension Method IsNullOrDBNull
Inidicates whether the specified Object is null or DBNull.
(Defined by ObjectExtensions.)

Properties

  Name Description
Public property CancellationPending
Gets a value indicating whether the application or the user has requested cancellation of a background operation.
Public property Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public property Error
Gets the Exception that occurred during the asynchronous operation, null otherwise.
Public property HeaderText
Gets or sets the header text of the dialog.
Public property IsBusy
Gets a value indicating whether the ProgressDialog is running an asynchronous operation is executing.
Public property MessageText
Gets or sets the message text of the form.
Public property Result
Gets the Result of the asynchronous operation.
Public property Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public property TitleText
Gets or sets the title text of the dialog.
Public property WorkerReportsProgress
Gets or sets a value indicating whether the ProgressDialog can report progress updProgressDialog_WorkerReportsProgressates.
Public property WorkerSupportsCancellation
Gets or sets a value indicating whether the ProgressDialog supports asynchronous cancellation.

Events

  Name Description
Public event Disposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)
Public event DoWork
Occurs when RunWorker is called.
Public event ProgressChanged
Occurs when ReportProgress is called.
Public event RunWorkerCompleted
Occurs when the background operation has completed, has been canceled, or has raised an exception.

See Also