private void PerfDataFileButton_Click( object sender, EventArgs e )
        {
            //CheckForIncompleteSkiers();

            String mySanctionNum = Properties.Settings.Default.AppSanctionNum.Trim();
            ExportPerfData myExportData = new ExportPerfData();
            myExportData.exportTourPerfData( mySanctionNum );
        }
        private void navExport_Click(object sender, EventArgs e)
        {
            // Display the form as a modal dialog box.
            exportDialogForm = new TourExportDialogForm();
            exportDialogForm.ShowDialog(this);

            // Determine if the OK button was clicked on the dialog box.
            if (exportDialogForm.DialogResult == DialogResult.OK) {
                String exportCommand = exportDialogForm.ExportCommand;
                if (exportCommand.ToLower().Equals("list")) {
                    winStatusMsg.Text = "Export list of tournaments";

                    ExportData myExportData = new ExportData();
                    myExportData.exportData("Tournament", "Select * from Tournament");
                } else if (exportCommand.ToLower().Equals("data")) {
                    winStatusMsg.Text = "Export all data for tournament " + editName.Text;

                    ExportData myExportData = new ExportData();
                    myExportData.exportTourData(editSanctionId.Text);
                } else if (exportCommand.ToLower().Equals("perf")) {
                    winStatusMsg.Text = "Export performance data for tournament " + TourName;
                    ExportPerfData myExportData = new ExportPerfData();
                    myExportData.exportTourPerfData(editSanctionId.Text);
                }
            }
        }