private void SayStartWithWindowsSetting()
 {
     if (Settings.StartWithWindows)
     {
         _speak?.Sentence(Resources.ClearThroat + Resources.StartWithWindows);
     }
     else
     {
         _speak?.Sentence(Resources.ClearThroat + Resources.NotStartWithWindows);
     }
 }
Beispiel #2
0
 private void SayWeek()
 {
     _speak?.Sentence(Resources.ClearThroat + Resources.Week + Week.Current());
 }
Beispiel #3
0
 internal static void Show(string text, Speak speak)
 {
     speak?.Sentence(Resources.ClearThroat + _caption);
     MessageBox.Show(text, _caption,
                     MessageBoxButtons.OK, MessageBoxIcon.Information);
 }
Beispiel #4
0
 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);
 }