private void SayStartWithWindowsSetting() { if (Settings.StartWithWindows) { _speak?.Sentence(Resources.ClearThroat + Resources.StartWithWindows); } else { _speak?.Sentence(Resources.ClearThroat + Resources.NotStartWithWindows); } }
private void SayWeek() { _speak?.Sentence(Resources.ClearThroat + Resources.Week + Week.Current()); }
internal static void Show(string text, Speak speak) { speak?.Sentence(Resources.ClearThroat + _caption); MessageBox.Show(text, _caption, MessageBoxButtons.OK, MessageBoxIcon.Information); }
internal static void Show(string text, Exception ex = null, Speak speak = null) { speak?.Sentence(Resources.ClearThroat + text); MessageBox.Show(ex is null ? text : $"{text}\r\n{ex}", _caption, MessageBoxButtons.OK, ex is null ? MessageBoxIcon.Information : MessageBoxIcon.Error); }