C# Class Bloom.ToPalaso.ProgressDialogBackground

A Palaso.IProgress-compatible progress dialog which does the work in the background
Inheritance: System.Windows.Forms.Form
Show file Open project: BloomBooks/BloomDesktop Class Usage Examples

Public Properties

Property Type Description
Progress SIL.Progress.MultiProgress
ProgressBar SimpleProgressIndicator
ProgressString SIL.Progress.StringBuilderProgress
StatusLabel SimpleStatusProgress

Public Methods

Method Description
ProgressDialogBackground ( ) : System
ShowAndDoWork ( DoWorkEventArgs>.Action work ) : void
_backgroundWorker_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ProgressDialog_Load ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ProgressDialogBackground() public method

public ProgressDialogBackground ( ) : System
return System

ShowAndDoWork() public method

public ShowAndDoWork ( DoWorkEventArgs>.Action work ) : void
work DoWorkEventArgs>.Action
return void

_backgroundWorker_ProgressChanged() public method

public _backgroundWorker_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
sender object
e System.ComponentModel.ProgressChangedEventArgs
return void

Property Details

Progress public property

public MultiProgress,SIL.Progress Progress
return SIL.Progress.MultiProgress

ProgressBar public property

public SimpleProgressIndicator ProgressBar
return SimpleProgressIndicator

ProgressString public property

public StringBuilderProgress,SIL.Progress ProgressString
return SIL.Progress.StringBuilderProgress

StatusLabel public property

public SimpleStatusProgress StatusLabel
return SimpleStatusProgress