예제 #1
0
 public ClipboardReader(SettingsData settings)
 {
     reader       = new SpeechSynthesizer();
     textGetter   = new TextGetter();
     settingsData = settings;
     settingsData.PropertyChanged += onSettingsChanged;
     canStop = canPause = false;
     canPlay = true;
     _state  = readerState.stopped;
 }
예제 #2
0
 public InvisibleWindow(ClipboardReader reader)
 {
     this.reader = reader;
     textGetter  = new TextGetter();
     InitializeComponent();
 }