摘要: string v_OpenFilePath =@"c:\新建文本文件.txt"; if (v_OpenFilePath.Equals("")) { MessageBox.Show("路径不能为空!","操作提示"); return; } //先判断文件是否存在,不存在则提示 if (!System.IO.File.Exists(v_OpenFilePath)) { MessageBox.Show("指定文件不存在!","操作提示"); return; } //存在则打开 Sy 阅读全文
posted @ 2012-08-01 12:44 蒾途の燄 阅读(221) 评论(0) 推荐(0) 编辑