Пример #1
0
 public void OnSendAllPatientsReportClicked()
 {
     MailsSystemManager.SendAllReportsInMail(m_mainController.LoggedInTherapist);
     m_mainController.ShowPopup(MessageController.MessageType.Succsess, "Mail will be sent in few minutes.");
     PrintToLog("All patient's reports sent to therapist mail: " + m_mainController.LoggedInTherapist.FirstName + " " + m_mainController.LoggedInTherapist.LastName + ", id: "
                + m_mainController.LoggedInTherapist.Username + ".", MainController.LogType.Information);
 }
 public void OnSendPatientReportInMailClicked()
 {
     MailsSystemManager.SendPatientReportInMail(m_mainController.LoggedInTherapist, m_mainController.CurrentPatient);
     m_mainController.ShowPopup(MessageController.MessageType.Succsess, "Mail will be sent in few minutes.");
     PrintToLog("Patient's report sent to therapist mail: Patient " + m_mainController.CurrentPatient.FullName + " " + ", id:" + m_mainController.CurrentPatient.Id
                + ". requsted by the therapist: " + m_mainController.LoggedInTherapist.FirstName + " " + m_mainController.LoggedInTherapist.LastName + ", id:"
                + m_mainController.LoggedInTherapist.Username + ".", MainController.LogType.Information);
 }
 public void OnSendErrorLogClicked()
 {
     MailsSystemManager.SendErrorLogInMail(m_mainController.LoggedInTherapist);
     m_mainController.ShowPopup(MessageController.MessageType.Succsess, "Mail will be sent in few minutes.");
     try
     {
         PrintToLog("Error log was sent to therapist mail: Requsted by the therapist: " + m_mainController.LoggedInTherapist.FirstName + " " + m_mainController.LoggedInTherapist.LastName + ", id: "
                    + m_mainController.LoggedInTherapist.Username + ".", MainController.LogType.Information);
     }
     catch (Exception e)
     {
         PrintToLog(e.ToString(), MainController.LogType.Error);
     }
 }
 public void OnSendAllPatientsReportClicked()
 {
     MailsSystemManager.SendAllReportsInMail(m_mainController.LoggedInTherapist);
     m_mainController.ShowPopup(MessageController.MessageType.Succsess, "Mail will be sent in few minutes.");
 }
Пример #5
0
 public void OnSendInformationLogClicked()
 {
     MailsSystemManager.SendInformationLogInMail(m_mainController.LoggedInTherapist);
     m_mainController.ShowPopup(MessageController.MessageType.Succsess, "Mail will be sent in few minutes.");
 }