![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
文章平均质量分 85
harriszhuang
这个作者很懒,什么都没留下…
展开
-
一个C# Process编写的文件执行类
功能:运行一个可执行文件,并重定向它的标准输出stdOut以及错误输出errOut给主程序。类的所有消息由主程序的事件处理函数myProc_Evnt统一处理,事件的传递细节为:myProc事件 -> 以字符串方式封装 -> 主程序Invoker -> 主程序事件处理程序消息格式为:"myProc.exited" -> 程序执行完毕,退出了,或者进程被杀死了;"myProc.disp原创 2015-06-27 19:00:04 · 1325 阅读 · 0 评论 -
带有进度显示的文件拷贝模块
using System;using System.IO;namespace csmyCopy{ class MainClass { public static void Main (string[] args) { FileStream fin, fout; Int64 len; Byte[] arrBuf = new byte[142原创 2015-09-08 20:32:44 · 559 阅读 · 0 评论