private void SaveCommand_Executed(object sender, ExecutedRoutedEventArgs e) { string filename = "music.xml"; Console.WriteLine("Saving " + filename); musicLib.Save(); }
private void SaveCommand_Executed(object sender, ExecutedRoutedEventArgs e) { // Save music.xml in the same directory as the exe string filename = "music.xml"; Console.WriteLine("Saving " + filename); musicLib.Save(); }
private void saveButton_Click(object sender, RoutedEventArgs e) { // Save music.xml in the same directory as the exe string filename = "music.xml"; Console.WriteLine("Saving " + filename); musicLib.Save(filename); }
private void SaveCommand_Executed(object sender, ExecutedRoutedEventArgs e) { musicLib.Save(); }