示例#1
0
 private void StartRecognitionBtn_Click(object sender, EventArgs e)
 {
     voiceRecognizer.StartVoiceRecognition();
     StartRecognitionBtn.Enabled = false;
     textVoicer.SayMessage(openingStatement);
     CommandOutputBox.Text += openingStatement;
 }
示例#2
0
 /// <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);
 }