示例#1
0
 void swipe_SwipeCaptured(object sender, SwipeEventArgs e)
 {
     if (this.SwipeDetected != null)
     {
         this.SwipeDetected(this, e);
     }
 }
示例#2
0
 void kinectService_SwipeDetected(object sender, SwipeEventArgs e)
 {
     Debug.WriteLine("Swipe detected.");
     if (this.selectedItem != null)
     {
         Debug.WriteLine("Executing command on item.");
         this.selectedItem.ItemCommand.Execute(null);
     }
 }