public void RecordGesture(string gestureName, string ctxt) { if (_kinectHandler == null) { return; } _isRecognizing = false; _currentGesture = new Gesture(gestureName, ctxt); _kinectHandler.RecordingCountdownEvent(3); Thread.Sleep(1000); _kinectHandler.RecordingCountdownEvent(2); Thread.Sleep(1000); _kinectHandler.RecordingCountdownEvent(1); Thread.Sleep(1000); _kinectHandler.RecordingCountdownEvent(0); Thread.Sleep(1000); if (_seqCoords != null) { _seqCoords.Clear(); } else { _seqCoords = new ArrayList(); } _isRecording = true; }