.NET Windows Forms Cursor To Hourglass

By Robbe Morris
Access over 40 UI widgets with everything from interactive menus to rich charts.

Learn how to change the cursor in a .NET Windows Forms applications.

private void Hourglass(bool Show)
{
if (Show == true)
{
System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.WaitCursor;
}
else
{
System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default;
}
return;
}



Submission Date:  9/24/2005 4:33:30 PM
Submitted By:  Robbe Morris
My Home Page:  http://www.robbemorris.com

Popularity  (314 Views)
Picture
Biography - Robbe Morris
Robbe has been a Microsoft MVP in C# since 2004. He is also the co-founder of EggHeadCafe.com which provides .NET articles, book reviews, software reviews, and software download and purchase advice.  Robbe also loves to scuba dive and go deep sea fishing in the Florida Keys or off the coast of Daytona Beach. Microsoft MVP