examples of the code for windows phone