void kinectService_SwipeDetected(object sender, SwipeEventArgs e) { if (e.Direction == SwipeDirection.Left) { this.GoToNextPage(); } else if (e.Direction == SwipeDirection.Right) { this.GoToPreviousPage(); } }