Show the wait cursor for the whole application as long as the object is not disposed.
Inheritance Hierarchy
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntaxpublic sealed class SetCursor : IDisposable
Public NotInheritable Class SetCursor
Implements IDisposable
public ref class SetCursor sealed : IDisposable
[<SealedAttribute>]
type SetCursor =
class
interface IDisposable
end
The SetCursor type exposes the following members.
Constructors
| Name | Description |
---|
 | SetCursor() |
Initializes a new instance of the SetCursor class and makes the WaitCursor the active cursor.
|
 | SetCursor(Cursor) |
Initializes a new instance of the SetCursor class and makes the passed cursor the active cursor.
|
Top
Methods
| Name | Description |
---|
 | Dispose |
Resets the active cursor to the cursor that was active when this instabce was initialized.
|
Top
RemarksThe previously active cursor is saved and restored when the object is disposed.
Examples
using new SetCursor
{
// Your slow code goes here
}
See Also