Méthode | Description | |
---|---|---|
RunTask ( Func |
If progress dialog is already showing, we run the background task using it (without creating a separate thread). Otherwise we display a new progress dialog as a modal dialog and start the background task in a separate thread.
|
|
RunTask ( bool fDisplayUi, Func |
Displays the progress dialog as a modal dialog and starts the background task.
|
|
Step ( int amount ) : void |
Cause the progress indicator to advance by the specified amount.
|
public RunTask ( Func |
||
backgroundTask | Func |
The background task. |
Résultat | object |
public RunTask ( bool fDisplayUi, Func |
||
fDisplayUi | bool | set to |
backgroundTask | Func |
The background task. |
Résultat | object |
public Step ( int amount ) : void | ||
amount | int | Amount of progress. |
Résultat | void |