摘要: 1、配置textBox的Multiline属性为true; 2、配置textBox的ScrollBars属性为Vertical,实现纵向滚动条; 3、然后如下语句实现自己滚动: private void textBox_receive_area_TextChanged(object sender, EventArgs e) { textBox_receive_area.SelectionStart = textBox_receive_area.Text.Length; textBox_receive_area.ScrollToCaret(); } 阅读全文
posted @ 2011-06-16 12:37 Leo.Qiu 阅读(3721) 评论(3) 推荐(1)