Click here to Skip to main content
15,892,965 members
Articles / Programming Languages / C#

Hourglass Mouse Cursor Always Changes Back to its Original Image. How?

27 Dec 2010CPOL1 min read 18.8K   1  
This topic is also covered by the RAII topic as described in RAII (Resource Acquisition Is Initialization) C# Helper Classes[^].Applying the RAII pattern results in more expressive code:using (new RAIIGuard(()=>owner.Cursor, c=>owner.Cursor = c)){ owner.Cursor =...
This is an old version of the currently published tip/trick.

This article is currently in progress. This version is not yet publicly viewable

Please go to the C# Table of Contents to view the list of available articles in this section.