@Yovi: The code should go into a WaveGesture class instead of just straight into your MainWindow class. I think you'll find that the compile issues go away if you do this.
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
@Yovi: The code should go into a WaveGesture class instead of just straight into your MainWindow class. I think you'll find that the compile issues go away if you do this.