void Record_Pressed(object sender, EventArgs e) { if (recognizer == null) { recognizer = speechService.CreateRecognizer(); recognizer.SpeechRecognized += SpeechReceived; recognizer.Start(); } }