Пример #1
0
 private void _speech_StateChanged(object sender, System.Speech.Synthesis.StateChangedEventArgs e)
 {
     Debug.WriteLine("状态改变之前:" + e.PreviousState.ToString());
     Debug.WriteLine("状态改变之后:" + e.State.ToString());
 }
Пример #2
0
 void synthesizer_StateChanged(object sender, System.Speech.Synthesis.StateChangedEventArgs e)
 {
     Debug.WriteLine(e.State.ToString());
 }