System.Drawing.Design.IToolboxService.SetCursor Method

Sets the current application's cursor to a cursor that represents the currently selected tool.

Syntax

public bool SetCursor ()

Returns

true if the cursor is set by the currently selected tool, false if there is no tool selected and the cursor is set to the standard windows cursor.

Remarks

If no tool is selected, the cursor will default to the standard Windows cursor.

Requirements

Namespace: System.Drawing.Design
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0