鸟寅

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2011年12月1日

摘要: private void txtLog_DragEnter(object sender, DragEventArgs e) { if (e.Data.GetDataPresent(DataFormats.FileDrop)) { e.Effect = DragDropEffects.Copy; } else { e.Effect = DragDropEffects.None; } ... 阅读全文
posted @ 2011-12-01 13:58 nywd 阅读(239) 评论(0) 推荐(0) 编辑

摘要: private void GetAllLog(string file) { DirectoryInfo di = new DirectoryInfo(file); FileSystemInfo[] fsinfo = di.GetFileSystemInfos(); foreach (FileSystemInfo fs in fsinfo) { if (fs is FileInfo) { if (... 阅读全文
posted @ 2011-12-01 13:57 nywd 阅读(139) 评论(0) 推荐(1) 编辑