Beispiel #1
0
 public static void WriteToFile(string FileName, Set set)
 {
     using (Stream s = File.Open(FileName, FileMode.OpenOrCreate))
     {
         using (StreamWriter sw = new StreamWriter(s))
         {
             sw.Write(Saver.SerializeSet(set));
         }
     }
 }
Beispiel #2
0
 public void ExportButtonClickedHandler(string fileName)
 {
     Saver.WriteToFile(fileName, set);
 }