摘要: this.textBox1.Select(this.txtMsgInfo.TextLength, 0); this.textBox1.ScrollToCaret(); 阅读全文
posted @ 2014-05-22 19:24 pnljs 阅读(1664) 评论(0) 推荐(0) 编辑
摘要: 当textbox为多行时,获取它的行数:int count = this.txtMsgInfo.Lines.GetUpperBound(0); 阅读全文
posted @ 2014-05-22 19:23 pnljs 阅读(6499) 评论(0) 推荐(1) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Net.Ma... 阅读全文
posted @ 2014-05-22 13:18 pnljs 阅读(315) 评论(0) 推荐(0) 编辑