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: ControlThe user interface control over which the wait cursor should be displayed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.