Share via


WaitCursor Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Provides a simple way to set a wait cursor (or other cursor) around a block of code.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Configuration.Design.dll)

Syntax

'Declaration
PublicNotInheritableClassWaitCursor _
    Implements IDisposable
publicsealedclassWaitCursor : IDisposable
publicref classWaitCursorsealed : IDisposable
publicfinalclass WaitCursor implements IDisposable

Examples

using( WaitCursor wait = new WaitCursor() { // Do something }

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.WaitCursor

See Also

WaitCursor Members

Microsoft.Practices.EnterpriseLibrary.Configuration.Design Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.