//File:Window.xaml.cs using System; using System.IO; using System.Windows; using System.Windows.Documents; using System.Windows.Markup; using System.Windows.Media; using System.Windows.Shapes; using System.Xml; using Microsoft.Win32; namespace WpfApplication1 { public partial class Window1 : Window { public Window1() { InitializeComponent(); } private void btnSave_Click(object sender, RoutedEventArgs e) {