Ejemplo n.º 1
0
 private void btnTrainingMove_Click(object sender, EventArgs e)
 {
     if (cbxSelectMovement.SelectedIndex == -1)
     {
         MessageBox.Show("Selecione um movimento!", "Ops!",
                         MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
     else
     {
         captureService = new CaptureKinectServiceNew(this, movementKey, this.trainingFile);
         captureService.StartKinectSensor();
         btnTrainingMove.Enabled = false;
         shouldCancel            = false;
     }
 }
Ejemplo n.º 2
0
 private void btnStartKinect_Click(object sender, EventArgs e)
 {
     shouldCancel   = false;
     captureService = new CaptureKinectServiceNew(this, currentMovement.Key, false);
     captureService.StartKinectSensor();
 }