摘要: 没什么技术含量,但如果不知道则实现起来很麻烦。 c#中textbox.lines只记录回车的数量,并不是真正的总行数,如何得到呢,请使用: int 总行数 = this.textBox1.GetLineFromCharIndex(this.textBox1.Text.Length) + 1 ; 下面 阅读全文
posted @ 2017-10-28 23:50 81 阅读(973) 评论(0) 推荐(0)