Editar

Partilhar via


Application.UseWaitCursor Property

Definition

Gets or sets whether the wait cursor is used for all open forms of the application.

public:
 static property bool UseWaitCursor { bool get(); void set(bool value); };
public static bool UseWaitCursor { get; set; }
static member UseWaitCursor : bool with get, set
Public Shared Property UseWaitCursor As Boolean

Property Value

true is the wait cursor is used for all open forms; otherwise, false.

Remarks

When this property is set to true, the UseWaitCursor property of all open forms in the application will be set to true. This call will not return until this property has been set on all forms. Use this property when you have a long-running operation, and want to indicate in all application forms that the operation is still processing.

Applies to