Пример #1
0
 private void displayEventToDetailPane(logEvent evt)
 {
     this.txtDetailsTime.Text     = evt.TimeStamp.ToString();
     this.txtDetailsThread.Text   = evt.ThreadName;
     this.txtDetailsLogger.Text   = evt.LoggerName;
     this.txtDetailsSeverity.Text = evt.Severity;
     this.txtDetailsMessage.Text  = evt.Message;
 }
Пример #2
0
        public void ShowEventDetails(logEvent e)
        {
            this.txtDate.Text     = e.TimeStamp.ToShortDateString();
            this.txtTime.Text     = e.TimeStamp.ToString("HH:mm:ss.fff");
            this.txtlogger.Text   = e.LoggerName;
            this.txtThread.Text   = e.ThreadName;
            this.txtSeverity.Text = e.Severity;
            this.txtMessage.Text  = e.Message;
            this.txtLineNb.Text   = e.LineNumber.ToString();

            this.ShowDialog();
        }