摘要: 命名空间:System.IO第一种方法:File.Exists(Application.StartupPath + "//AlarmSet.txt");第二种方法:System.IO.DirectoryInfo info = new System.IO.DirectoryInfo(Application.StartupPath + "//AlarmSet.txt");MessageBox.Show(info.Exists.ToString());第三种方法:File.Create(Application.StartupPath + "//Ala 阅读全文
posted @ 2009-11-17 16:28 张兴业 阅读(771) 评论(0) 推荐(0) 编辑