コード例 #1
0
 private void OnItemClicked(object sender, RoutedEventArgs e)
 {
     if (e.OriginalSource is KinectButtonBase)
     {
         var args = new KinectItemClickEventArgs(ItemClickedEvent, e.OriginalSource);
         this.RaiseEvent(args);
     }
 }
コード例 #2
0
 private void OnItemClicked(object sender, RoutedEventArgs e)
 {
     if (e.OriginalSource is KinectButtonBase)
     {
         var args = new KinectItemClickEventArgs(ItemClickedEvent, e.OriginalSource);
         this.RaiseEvent(args);
     }
 }