StatusDlg.ShowCancelButton

StatusDlg.ShowCancelButton ( 

boolean ShowCancel = true,

string  ButtonText = "Cancel" )

Example 1

StatusDlg.ShowCancelButton(true, "Abort");

Shows the cancel button on the built-in status dialog and sets it's text to "Abort."

Example 2

StatusDlg.ShowCancelButton(false);

Hides the cancel button on the built-in status dialog.

See also:  Related Actions