예제 #1
0
 private void xlog_LoggingNotice(object sender, Logging.LoggingNoticeEventArgs e)
 {
     if (xcons != null)
     {
         xcons.PrintLine(e.DateTimeProcess.Substring(8) + "| " + e.Message);
     }
 }
예제 #2
0
 void log_LoggingNotice(object sender, Logging.LoggingNoticeEventArgs e)
 {
     // コンソールにログを追加
     if (txtLog.Text.Length > 0)
     {
         txtLog.PrintLine("");
     }
     txtLog.Print(e.Message, txtLog.ForeColor);
 }