摘要: 在RichTextBox控件的使用中我们会遇到加载TXT文件的问题,通常我们会有两种处理方式。 # 一、加载TXT字符串,设置到RichTextBox ``` //打开并且读取文件数据 FileStream fs = new FileStream(txtPath, FileMode.Open, Fi 阅读全文
posted @ 2023-07-28 08:56 XSpringSun 阅读(1994) 评论(7) 推荐(10) 编辑