pathRainfallFile = txtSavingLocation.Text;
string fullRailfallPathFile = Path.Combine(pathRainfallFile, "Rainfall.txt");
FileStream fsRainfall = new FileStream(fullRailfallPathFile, FileMode.Create, FileAccess.Write);
StreamWriter swRainfall = new StreamWriter(fsRainfall, Encoding.UTF8);
// 190770 ABC +1900 +07700 +0392
swRainfall.Write("190770");
swRainfall.Write("\t");
swRainfall.Write("ABC");
swRainfall.Write("\t");
swRainfall.WriteLine("+1900 +07700 +0392");
swRainfall.WriteLine(" -------- ---- 1 ---- 2 ----");
// CommonEntryPart(swRIBASIM, dtRIBASIM, lstStatioName, 2);
swRainfall.Flush();
swRainfall.Close();
fsRainfall.Dispose();
string fullRailfallPathFile = Path.Combine(pathRainfallFile, "Rainfall.txt");
FileStream fsRainfall = new FileStream(fullRailfallPathFile, FileMode.Create, FileAccess.Write);
StreamWriter swRainfall = new StreamWriter(fsRainfall, Encoding.UTF8);
// 190770 ABC +1900 +07700 +0392
swRainfall.Write("190770");
swRainfall.Write("\t");
swRainfall.Write("ABC");
swRainfall.Write("\t");
swRainfall.WriteLine("+1900 +07700 +0392");
swRainfall.WriteLine(" -------- ---- 1 ---- 2 ----");
// CommonEntryPart(swRIBASIM, dtRIBASIM, lstStatioName, 2);
swRainfall.Flush();
swRainfall.Close();
fsRainfall.Dispose();