WaitCursor Constructor

Stores the current cursor and displays the wait cursor whenever the mouse pointer is over the specified user interface control. When the instance is disposed, the current cursor will be restored.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Public Sub New ( _
    control As Control _
)
public WaitCursor(
    Control control
)
public:
WaitCursor(
    Control^ control
)
new : 
        control:Control -> WaitCursor
public function WaitCursor(
    control : Control
)

Parameters

  • control
    Type: Control

    The user interface control over which the wait cursor should be displayed.

.NET Framework Security

See Also

Reference

WaitCursor Class

Microsoft.VisualStudio.Modeling.Shell Namespace