Exemple #1
0
 protected void WriteNow(string msg)
 {
     if (Dispatcher.CheckAccess())
     {
         Text += msg;
         MessageAppEx.LogSev(Severity.Info, msg);
     }
     else
     {
         Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new TextChanger(this.WriteNow), msg);
     }
 }
Exemple #2
0
 protected void WriteLog(string msg)
 {
     MessageAppEx.LogSev(Severity.Info, "{0}", msg);
 }