标签:
RichTextBox.AppendText($"[{DateTime.Now.ToString("hh:mm:ss")}] {msg}\n"); RichTextBox.SelectionStart = sendBox.Text.Length; RichTextBox.ScrollToCaret();
RichTextBox 自动滚动到最后
原文地址:http://www.cnblogs.com/tjwzc/p/5223364.html