Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 private void ExportPDFButton_Click(object sender, RoutedEventArgs e)
 {
     ResultsExporter.ExportToPDF(this.result);
 }