Пример #1
0
 private void WriteLog(string msg)
 {
     LogTable.BeginInvoke(new Action(() =>
     {
         LogData.Add(new LogMessage {
             Time = DateTime.Now.ToString("dd MMM HH:mm"), Message = msg
         });
         LogTable.Refresh();
         LogTable.FirstDisplayedScrollingRowIndex = LogTable.RowCount - 1;
     }));
 }