Some Windows Phone code used for some of my projects