先轉換成streamreader類的對象去掉回車符再轉換回來
StreamReadersr=newStreamReader(thistextBoxTextSystemTextEncodingDefault);
thistextBoxText=srReadToEnd()Replace((char))Replace((char));
thistextBoxSelectAll();
srClose();