示例#1
0
 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;
     }
 }