An NDoc Documented Class Library

CursorChanger Class

A class to change the cursor for the current window. Upon Disposal, the class will return the original cursor.

For a list of all members of this type, see CursorChanger Members.

System.Object
   CursorChanger

public class CursorChanger : IDisposable

Example

This example shows how the cursor will be changed during the scope of the object (before disposal):

            using (ChangeCursor cursorChanger = new CursorChanger(Cursors.WaitCursor))
            {
              ...
            }
            

Requirements

Namespace: Genghis.Windows.Forms Namespace

Assembly: Genghis.dll

See Also

CursorChanger Members | Genghis.Windows.Forms Namespace