C# Класс SignMaster.ProgressForm

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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.

Описание методов

BeginStep() публичный Метод

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.
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

EndStep() публичный Метод

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.
Результат void

Finished() публичный Метод

Called when all work covered by progress dialog is complete.
public Finished ( bool canClose ) : void
canClose bool True if work completed successfully.
Результат void

Init() публичный Метод

Initializes the progress dialog.
public Init ( int numSteps ) : void
numSteps int Number of steps of work to be done
Результат void

IsCanceled() публичный Метод

public IsCanceled ( ) : bool
Результат bool

ProgressForm() публичный Метод

Constructor
public ProgressForm ( ) : System
Результат System