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