コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: Sysreqx/WPF
 private void SaveXmlFileBTN(object sender, RoutedEventArgs e)
 {
     try
     {
         ReadXML.saveXmlFile();
     }
     catch (Exception z)
     {
         lblException.Content    = z;
         lblException.Foreground = Brushes.Red;
     }
     finally
     {
         lblException.Content    = "Xml File created";
         lblException.Foreground = Brushes.Green;
         hyperlinkk.IsEnabled    = true;
     }
 }