Click or drag to resize

ProgressDialogShow Method (Object)

Displays the progress dialog as a modeless dialog.

Namespace:  Ookii.Dialogs.Wpf
Assembly:  Ookii.Dialogs.Wpf (in Ookii.Dialogs.Wpf.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Show(
	Object argument
)

Parameters

argument
Type: SystemObject
A parameter for use by the background operation to be executed in the DoWork event handler.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe animation specified in the Animation property could not be loaded.
Remarks

This function will not block the parent window and return immediately.

Although this function returns immediately, you cannot use the UI thread to do any processing. The dialog will not function correctly unless the UI thread continues to handle window messages, so that thread may not be blocked by some other activity. All processing related to the progress dialog must be done in the DoWork event handler.

See Also