好像无法监控read使用API吧,向高手请教
解决方案 »
- winform 实现图片批量上传
- 急求FTP代码
- C/S 程序完全退出程序的问题,忘大家都来帮帮忙
- C#的高手都哪里去了?
- alert table的问题
- 请问在vs2005中combobox组合框中数据如果是从数据库取出如何邦定
- 关于读取xml文档的问题
- 问个很多人都无法解决的问题,如何判断页面加载完毕并统计frames数量
- 请高手给个DataList绑定SQL数据库然后显示的例子
- 通过DataRowCollection的Find得到Row,怎么知道它在Rows(即DataRowCollection的实例)中的索引号。不能循环表。
- 请教!为什么在代码里不能为水晶报表文件创建实例了?!
- 一个关于datagrid模板列的问题
dirWatcherGH.IncludeSubdirectories = false;
dirWatcherGH.Filter = "*.txt";dirWatcherGH.NotifyFilter = NotifyFilters.LastAccess | NotifyFilters.LastWrite | NotifyFilters.FileName | NotifyFilters.DirectoryName;dirWatcherGH.Created += new FileSystemEventHandler(OnFileCreatedGH);
OnFileCreatedGH是一个函数
private void OnFileCreatedGH(object source, FileSystemEventArgs e)
{}
我想要监听的是整个硬盘里的程序和文件夹
path属性怎么设?没说清楚哈
dirWatcherGH.IncludeSubdirectories = true;一个FileWatcher只能监听一个盘吧
dirWatcherGH1.Path = "D:\\";
dirWatcherGH2.Path = "E:\\";
dirWatcherGH3.Path = "F:\\";
分个来