private void txtLog_TextChanged(object sender, EventArgs e) { txtLog.SelectionStart = txtLog.Text.Length; txtLog.ScrollToCaret(); txtLog.Refresh(); }