What's the best method in WPF for showing an Eggtimer/Busy mouse icon when opening a new window or retrieving records from a DB?
+4
A:
The simplest way is to set Mouse.OverrideCursor:
Mouse.OverrideCursor = Cursors.Wait;
try
{
// perform task
}
finally
{
Mouse.OverrideCursor = null;
}
Matt Hamilton
2009-07-27 00:40:59
Thanks Matt, works perfectly.
Mitch
2009-07-27 08:06:57