Inheritance: System.EventArgs
Exemplo n.º 1
0
 void HandPointGenerator_UserLost(object sender, UserEventArgs e)
 {
     Dispatcher.Invoke((Action)delegate
     {
         this.txtStatus.Text = "User lost: " + e.Id;
     });
 }
Exemplo n.º 2
0
 void HandPointGenerator_SkeletonReady(object sender, UserEventArgs e)
 {
     Dispatcher.Invoke((Action)delegate
     {
         this.txtStatus.Text = "Skeleton: " + e.Id;
         borderUser.Background = Brushes.Green;
         //AnimateUtility.AnimateElementDouble(borderUser, OpacityProperty, 0.5, 0.0, 2.0);
     });
 }
Exemplo n.º 3
0
 void HandPointGenerator_UserFound(object sender, UserEventArgs e)
 {
     Dispatcher.Invoke((Action)delegate
     {
         this.txtStatus.Text = "User found: " + e.Id;
         borderUser.Background = Brushes.Red;
         borderUser.Opacity = 1.0;
     });
 }
Exemplo n.º 4
0
 void HandPointGenerator_PoseRecognized(object sender, UserEventArgs e)
 {
     Dispatcher.Invoke((Action)delegate
     {
         this.txtStatus.Text = "Pose: " + e.Id;
         borderUser.Background = Brushes.Yellow;
     });
 }