//用于实时显示串口数据,richTxtBox private void DataBox_TextChanged(object sender, EventArgs e) { DataBox.SelectionStart = DataBox.Text.Length; DataBox.ScrollToCaret(); }
//用于实时显示串口数据,richTxtBox private void DataBox_TextChanged(object sender, EventArgs e) { DataBox.SelectionStart = DataBox.Text.Length; DataBox.ScrollToCaret(); }