C# Class BF2Statistics.ProgressDialog

Managed wrapper for the COM ProgressDialog component. Displays a dialog box to track the progress of a long-running operation.
Inheritance: System.ComponentModel.Component
Show file Open project: BF2Statistics/ControlCenter

Private Properties

Property Type Description
CleanUp void
UpdateProgress void

Public Methods

Method Description
Close ( ) : void

Stops the timer and closes the progress dialog.

Pause ( ) : void

Pauses the timer on the progress dialog.

ProgressDialog ( ) : System

Initialises a new instance of the ProgressDialog class, using default values.

ProgressDialog ( IContainer container ) : System

Initialises a new instance of the ProgressDialog class and adds it to the specified IContainer.

Resume ( ) : void

Resumes the timer on the progress dialog.

Show ( ) : void

Displays the progress dialog and starts the timer.

Show ( IWin32Window parent ) : void

Displays the progress dialog and starts the timer.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases the RCW to the native IProgressDialog component.

Private Methods

Method Description
CleanUp ( ) : void

Releases the RCW to the native IProgressDialog component.

UpdateProgress ( ) : void

Updates the progress displayed on the dialog box.

Method Details

Close() public method

Stops the timer and closes the progress dialog.
public Close ( ) : void
return void

Dispose() protected method

Releases the RCW to the native IProgressDialog component.
protected Dispose ( bool disposing ) : void
disposing bool
return void

Pause() public method

Pauses the timer on the progress dialog.
public Pause ( ) : void
return void

ProgressDialog() public method

Initialises a new instance of the ProgressDialog class, using default values.
public ProgressDialog ( ) : System
return System

ProgressDialog() public method

Initialises a new instance of the ProgressDialog class and adds it to the specified IContainer.
public ProgressDialog ( IContainer container ) : System
container IContainer
return System

Resume() public method

Resumes the timer on the progress dialog.
public Resume ( ) : void
return void

Show() public method

Displays the progress dialog and starts the timer.
public Show ( ) : void
return void

Show() public method

Displays the progress dialog and starts the timer.
public Show ( IWin32Window parent ) : void
parent IWin32Window The dialog box's parent window.
return void