Esempio n. 1
0
 private void SaveAndConfirm_Click(object sender, RoutedEventArgs e)
 {
     foreach (PathEditor modifiedPath in modifiedPaths)
     {
         SavePatFile.WritePatFile(modifiedPath.CurrentTrainPath);
     }
     this.Close();
 }
Esempio n. 2
0
 /// <summary>
 /// Save the path to file, converting the internal representation to .pat file format
 /// </summary>
 public void SavePath()
 {
     SavePatFile.WritePatFile(CurrentTrainPath);
 }