 | ProgressDialog.ReportProgress Method (Int32, String, String) |
Updates the dialog's progress bar.
Namespace:
Ookii.Dialogs
Assembly:
Ookii.Dialogs (in Ookii.Dialogs.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void ReportProgress(
int percentProgress,
string text,
string description
)
Public Sub ReportProgress (
percentProgress As Integer,
text As String,
description As String
)
public:
void ReportProgress(
int percentProgress,
String^ text,
String^ description
)
member ReportProgress :
percentProgress : int *
text : string *
description : string -> unit
Parameters
- percentProgress
- Type: System.Int32
The percentage, from 0 to 100, of the operation that is complete. - text
- Type: System.String
The new value of the progress dialog's primary text message, or null to leave the value unchanged. - description
- Type: System.String
The new value of the progress dialog's additional description message, or null to leave the value unchanged.
Exceptions
RemarksCall this method from the
DoWork event handler if you want to report progress.
See Also