public static ExportToXML ( Result result ) : void | ||
result | Result | |
Результат | void |
private void ExportComboBox_SelectionChanged(object sender, RoutedEventArgs e) { if (ExportComboBox.SelectedIndex == 0) { ResultsExporter.ExportToPDF(this.result); } else if (ExportComboBox.SelectedIndex == 1) { ResultsExporter.ExportToCSV(this.result); } else if (ExportComboBox.SelectedIndex == 2) { ResultsExporter.ExportToXML(this.result); } ExportComboBox.SelectedIndex = -1; }
private void ExportXMLButton_Click(object sender, RoutedEventArgs e) { ResultsExporter.ExportToXML(this.result); }