2010年12月1日

摘要: 在 .Net Full Framework中,要想使多行文本框滚动到最新插入的那一行,非常简单,示范如下:textBox1.AppendText(string.Format("{0}\r\n", DateTime.Now.ToLongTimeString()));textBox1.ScrollToCaret(); 然而,在.Net Compact Framework 3.5中,文本框没有AppendText方法,所以实现方法不得不成为下面这样的:textBox.Text += string.Format("{0}\r\n", message);textB 阅读全文

posted @ 2010-12-01 17:38 Yaping Xin 阅读(546) 评论(0) 推荐(0)