Beispiel #1
0
 private void SaveMenu_Click(object sender, RoutedEventArgs e)
 {
     System.Windows.Forms.SaveFileDialog saveFileDialog = new System.Windows.Forms.SaveFileDialog();
     saveFileDialog.InitialDirectory = "c:\\";
     saveFileDialog.Filter           = "ani files (*.ani)|*.ani|All files (*.*)|*.*";
     saveFileDialog.RestoreDirectory = true;
     if (saveFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         saveFile.saveAnimeListToFile(saveFileDialog.FileName);
     }
 }