Ejemplo n.º 1
0
        void PauseCmdExecuted(object target, ExecutedRoutedEventArgs e)
        {
            switch (_reader.State)
            {
            case ReaderState.Speaking:
                _reader.PauseReading();
                break;

            case ReaderState.Paused:
                _reader.ResumeReading();
                break;
            }
        }