Ejemplo n.º 1
0
 public virtual void WriteNotification(string message)
 {
     LogServices.WriteLog(message, Model.LogType.Information, GlobalVariables.Enviroment.ToString());
     NotifyToMainStatus(message, System.Drawing.Color.ForestGreen);
 }
Ejemplo n.º 2
0
 public virtual void HandleException(Exception ex)
 {
     LogServices.WriteLog(ex.Message + " Stack Trace: " + ex.StackTrace, Model.LogType.Error, GlobalVariables.Enviroment.ToString());
     NotifyToMainStatus(ex.Message, System.Drawing.Color.Red);
 }