Share via


WaitCursor Constructor

Definition

Initializes a new instance of the WaitCursor class.

public:
 WaitCursor();
public WaitCursor ();
Public Sub New ()

Examples

The following example displays a WaitCursor object while the user settings are saved.

private void butClickSaveSettings(object sender, EventArgs e) {

    using (new WaitCursor()) {
        SaveSettings();
    }
} 

Applies to