Click or drag to resize

SetCursor Class

Show the wait cursor for the whole application as long as the object is not disposed.
Inheritance Hierarchy
SystemObject
  Jam.ShellSetCursor

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax
public sealed class SetCursor : IDisposable

The SetCursor type exposes the following members.

Constructors
  NameDescription
Public methodSetCursor
Initializes a new instance of the SetCursor class and makes the WaitCursor the active cursor.
Public methodSetCursor(Cursor)
Initializes a new instance of the SetCursor class and makes the passed cursor the active cursor.
Top
Methods
  NameDescription
Public methodDispose
Resets the active cursor to the cursor that was active when this instabce was initialized.
Top
Remarks
The previously active cursor is saved and restored when the object is disposed.
Examples
using new SetCursor { // Your slow code goes here }
See Also