Partager via


WaitCursor Class

Definition

Simple class to put up the Wait cursor during its lifetime.

public ref class WaitCursor sealed : IDisposable
public sealed class WaitCursor : IDisposable
type WaitCursor = class
    interface IDisposable
Public NotInheritable Class WaitCursor
Implements IDisposable
Inheritance
WaitCursor
Implements

Remarks

This class is designed to be used with the 'using' statement.

Constructors

WaitCursor(Control)

Constructor

Methods

Clear()

Restore the original cursor

Dispose()

Ensure that the cursor is cleared when the object is disposed.

Finalize()

Ensure that the cursor is cleared when the object is disposed.

Applies to