摘要: 转载 http://www.voidcn.com/article/p-ddbcqdqj-pv.html 思路:通过在Word中设置书签 ,调用Word的方法去查找书签然后进行替换保存。 代码如下: 首先添加OFFCIE引用 Microsoft Office 15.0 Object Library 这 阅读全文
posted @ 2021-02-03 17:19 人生为卒 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 调用方法 string _foldPath = textBox1.Text; string foldPath = _foldPath; if (string.IsNullOrEmpty(foldPath)) { MessageBox.Show("请选择文件路径!"); return; } strin 阅读全文
posted @ 2021-02-03 14:18 人生为卒 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 调用方法: FSearch _FSearch = new FSearch(); List<string> o_Rtn = new List<string>(); string _foldPath = textBox1.Text; string _searckkey = textBox2.Text; 阅读全文
posted @ 2021-02-03 11:56 人生为卒 阅读(463) 评论(0) 推荐(0) 编辑