Пример #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);
     }
 }