strResultChs:代表写入文本框的字符串 textbox.Text = strResultChs.Replace(" ", "");//取出字符串中的空格 textbox.Text = strResultChs.Replace(", ", "。");//字符串中的逗号替换为句号 this.textboxr.Focus();//获取文本焦点 this.author.Select(author.Text.Length,0); //将光标移动到末尾