C# Class SignMaster.ProgressForm

Afficher le fichier Open project: sillsdevinstaller Class Usage Examples

Méthodes publiques

Méthode Description
BeginStep ( string item ) : void

Called when a new progress item of work is started.

EndStep ( string report ) : void

Called when a progress item of work is completed.

Finished ( bool canClose ) : void

Called when all work covered by progress dialog is complete.

Init ( int numSteps ) : void

Initializes the progress dialog.

IsCanceled ( ) : bool
ProgressForm ( ) : System

Constructor

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
BtnProgressCancelClick ( object sender, EventArgs e ) : void

Response to user pressing Cancel button

DoBeginStep ( string item ) : void

Delegated version of BeginStep().

DoEndStep ( string report ) : void

Delegated version of EndStep().

DoFinished ( bool canClose ) : void

Delegated version of Finished().

InitializeComponent ( ) : void

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

ScrollProgressTextToBottom ( ) : void

Trick to make sure multi-line text box shows latest text added.

Method Details

BeginStep() public méthode

Called when a new progress item of work is started.
public BeginStep ( string item ) : void
item string Description of work, typically the name of the file about to be signed.
Résultat void

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

EndStep() public méthode

Called when a progress item of work is completed.
public EndStep ( string report ) : void
report string Desciption of any problems encounterd while doing the work step.
Résultat void

Finished() public méthode

Called when all work covered by progress dialog is complete.
public Finished ( bool canClose ) : void
canClose bool True if work completed successfully.
Résultat void

Init() public méthode

Initializes the progress dialog.
public Init ( int numSteps ) : void
numSteps int Number of steps of work to be done
Résultat void

IsCanceled() public méthode

public IsCanceled ( ) : bool
Résultat bool

ProgressForm() public méthode

Constructor
public ProgressForm ( ) : System
Résultat System