C# Class Bloom.ToPalaso.Experimental.ProgressDialogForeground

A SIL.IProgress-compatible progress dialog which keeps the work in the foreground, using the progress calls by the worker to keep the UI alive. This has the advantage that any errors raised by the worker don't need special handling. NOTE: this dialog is more of an experiment: it doesn't normally work... it's a lot to ask the ui to freeze and still keep working by means of an occasionally hacked-in Application.DoEvents();
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: BloomBooks/BloomDesktop Class Usage Examples

Méthodes publiques

Свойство Type Description
Progress SIL.Progress.MultiProgress
ProgressBar SimpleProgressIndicator
_status SimpleStatusProgress

Méthodes publiques

Méthode Description
ProgressDialogForeground ( ) : System
ShowAndDoWork ( Action work ) : void
StartWorking ( object sender, EventArgs e ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
InitializeComponent ( ) : void

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

ProgressDialogForeground_Load ( object sender, EventArgs e ) : void

Method Details

Dispose() protected méthode

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

ProgressDialogForeground() public méthode

public ProgressDialogForeground ( ) : System
Résultat System

ShowAndDoWork() public méthode

public ShowAndDoWork ( Action work ) : void
work Action
Résultat void

StartWorking() public méthode

public StartWorking ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

Progress public_oe property

public MultiProgress,SIL.Progress Progress
Résultat SIL.Progress.MultiProgress

ProgressBar public_oe property

public SimpleProgressIndicator ProgressBar
Résultat SimpleProgressIndicator

_status public_oe property

public SimpleStatusProgress _status
Résultat SimpleStatusProgress