C# 获取textbox行数

当textbox为多行时,获取它的行数:
int count = this.txtMsgInfo.Lines.GetUpperBound(0);this

相关文章
相关标签/搜索