摘要:
(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 阅读全文