Exemple #1
0
        public static void AcquirePriortyofScreenTouch()
        {
            ScreenTouchMode = ScreenTouchMode.BlockingAndGesture;

            if (!IsWindowOpen <GestureWindow>())
            {
                GestureWindow win = new GestureWindow();
                win.Show();
            }
        }
        private void GestureWindowButton_Click(object sender, RoutedEventArgs e)
        {
            kinect_calibrate.Uninitialize();
            GestureWindow gestureWindowForm = new GestureWindow();

            gestureWindowForm.initializeRanges(JOINT_CALIBRATION_VALUES);
            gestureWindowForm.Show();

            //StudyWindow StudyWindowForm = new StudyWindow();
            //StudyWindowForm.initializeRanges(JOINT_CALIBRATION_VALUES);
            //StudyWindowForm.Show();

            this.Close();
        }