Saving/Restoring form's last known location and position

Ragha has posted a nice article of how to use the new Settings APIs to save off the last known size/location of your form.