Symbian.Net

July 11, 2006

Some cool news: .Net might be coming to the Symbian OS (Nokia, SonyEricsson etc.) !

http://www.redfivelabs.com/Solutions/tabid/53/Default.aspx

Unfortunately it’s only the CF 1.0 (for Smartphones), however CF2.0 is sure to follow if it is a success!

(from Nino.Mobile)

Advertisements

Wait cursor

July 5, 2006

Getting the nice colorful system-is-busy hourglass (or whatever it is) to appear is extremely simple:

Cursor.Current = Cursors.WaitCursor;

Note that the animation will stay put until you change it back to Default, so it is a good idea to put it in a finally clause to make sure it happens:

try {
 Cursor.Current = Cursors.WaitCursor;
 //Do something time consuming…
}
finally {
 Cursor.Current = Cursors.Default;
}

In this way, even if you get an exception the cursor will switch back (this is a good idea for standard Windows Forms programming also btw)

Edit: The Cursor property is not on the form, but on System.Windows.Forms, changed the reference