public void ExecuteVoiceCommand(VoiceCommand command)
        {
            switch (command)
            {
            case VoiceCommand.Start:
                if (bodyManager != null)
                {
                    initialPositionComputer = new InitialPositionComputer(bodyManager);
                    gestureRecorder         = new GestureRecorder(bodyManager, initialPositionComputer, gestureIndex.GestureDB[gestureIndex.NewGesture].fileName);
                    gestureRecorder.GestureRecordEventHandler += GestureRecordEventHandler;
                    gestureRecorder.RecordInitialPosition(true);
                    StartRecordingTimer();
                }
                break;

            case VoiceCommand.Up:
                if (gestureList.SelectedIndex > 0)
                {
                    gestureList.SelectedIndex--;
                }
                break;

            case VoiceCommand.Down:
                if (gestureList.SelectedIndex < gestureList.Items.Count)
                {
                    gestureList.SelectedIndex++;
                }
                break;

            case VoiceCommand.Select: //TODO
                Console.WriteLine("select");
                break;
            }
        }
        public void ExecuteVoiceCommand(VoiceCommand command)
        {
            switch (command)
            {
            case VoiceCommand.Start:
                if (bodyManager != null)
                {
                    initialPositionComputer = new InitialPositionComputer(bodyManager);
                    RecordInitialPosition();
                    StartRecordingTimer();
                }
                break;

            case VoiceCommand.Up:
                if (gestureList.SelectedIndex > 0)
                {
                    gestureList.SelectedIndex--;
                }
                break;

            case VoiceCommand.Down:
                if (gestureList.SelectedIndex < gestureList.Items.Count)
                {
                    gestureList.SelectedIndex++;
                }
                break;
            }
        }