コード例 #1
0
        void VoiceController_SpeechRecognized(object sender, Microsoft.Speech.Recognition.SpeechRecognizedEventArgs e)
        {
            string text = e.Result.Text;

            tb.Text  = text;
            tb2.Text = "qw";
            voiceController.Speak("I recognized the words: " + text);
        }