在winform中如果将textbox为多行时multiline=true时,要想使文本在指定的字符后面进行换行只用" "是行不通的,需要用" "
代码简单示例如下:
this.txt_Diary.Text = "反结清成功:" + " " +" "+ str_codeList + " " + "共:" + str_arrValue.Length.ToString() + "条数据反结清成功";
在winform中如果将textbox为多行时multiline=true时,要想使文本在指定的字符后面进行换行只用" "是行不通的,需要用" "
代码简单示例如下:
this.txt_Diary.Text = "反结清成功:" + " " +" "+ str_codeList + " " + "共:" + str_arrValue.Length.ToString() + "条数据反结清成功";