摘要: (1)将污染源对象以一定的格式保存到txt文本中 public bool SaveToTxtFile(List<pollutionSource> psList) { bool bResult = false; System.IO.FileStream FS = null; System.IO.StreamWriter SW = null; try { //新建文件流 FS = new System.IO.FileStream(Application.StartupPath + "/Data/info1.txt", System.IO.FileMode.Creat 阅读全文
posted @ 2011-02-23 10:37 gisdream 阅读(11787) 评论(1) 推荐(0) 编辑