将TextBox的 MultiLine 属性设置为true,(复选框打钩即可)
TextBox.Text="HaHa"+"\r\n";
TextBox.Text="HeiHei"+"\r\n";
显示结果为:
HaHa
HeiHei