C# textBox 自动换行
string test = textBoxLine_tab9_31.Text;
int len = test.Length / 24;
string temp = "";
if (0 < len)
{
int i = 0;
for (; i < len; i++)
{
temp += (test.Substring(i * 24, 24) + "\r\n");
}
temp += test.Substring(i * 24);
}
else
{
temp = test;
}