private void StartRecognitionBtn_Click(object sender, EventArgs e) { voiceRecognizer.StartVoiceRecognition(); StartRecognitionBtn.Enabled = false; textVoicer.SayMessage(openingStatement); CommandOutputBox.Text += openingStatement; }
/// <summary> /// Uses a text voicer object to voice a message. /// </summary> /// <param name="message">The string of a message to be voiced.</param> public void TextVoicerVoiceMessage(string message) { _textVoicer.SayMessage(message); }