private void TestClick()
 {
     //ToDo: check emailFrom, emailTo
     ViewRead();
     try
     {
         _eMalertService.SendAlert(
             Locale.Instance.Get("AlertSetup/testTitle"),
             Locale.Instance.Get("AlertSetup/testText")
             );
     } catch (Exception e)
     {
         View.ShowError(e.Message);
     }
 }
 private void SignalLost()
 {
     foreach (SourcePresenter s in _srcs)
     {
         if (s.signalLost)
         {
             s.signalLost = false;
             if (_settings.alert.email.onSignalLost)
             {
                 _eMalertService.SendAlert(
                     FillAlertTemplate(View.EmLostSignalTitle, s.Source),
                     FillAlertTemplate(View.EmLostSignalSubject, s.Source));
             }
         }
     }
 }
 private void TestClick()
 {
     //ToDo: check emailFrom, emailTo
     _eMalertService.SendAlert("Alert test", "Congratulations!\nYour settings are working!");
 }