Пример #1
0
 private void DataLog_TextChanged(object sender, EventArgs e)
 {
     // set the current caret position to the end
     DataLog.SelectionStart = DataLog.Text.Length;
     // scroll it automatically
     DataLog.ScrollToCaret();
 }