public void WritingToTextFile()
{
using (StreamWriter sw = new StreamWriter("Text.txt", false, System.Text.Encoding.Default))
{
for(int i = 0; i < _translatedTextLines.Count; i++)
{
sw.WriteLine(_translatedTextLines[i]);
}
}
}
recognizer.SpeechRecognized += new EventHandler<SpeechRecognizedEventArgs>(SpeechRecognizedHandler);
recognizer.RecognizeCompleted += new EventHandler<RecognizeCompletedEventArgs(RecognizeCompletedHandler);
SpeechRecognizedHandler
я прописывал обычный MessageBox, а он не появлялся recognizer.SpeechRecognized += new EventHandler<SpeechRecognizedEventArgs>(SpeechRecognizedHandler);
recognizer.RecognizeCompleted += new EventHandler<RecognizeCompletedEventArgs(RecognizeCompletedHandler);
SpeechRecognizedHandler
я прописывал обычный MessageBox, а он не появлялся