private void SafetyDirReportButton_Click( object sender, EventArgs e )
 {
     SafetyCheckList curForm = new SafetyCheckList();
     curForm.MdiParent = this.MdiParent;
     curForm.Show();
     curForm.RefreshButton_Click( null, null );
     curForm.ExportButton_Click( null, null );
     curForm.ExportReportPrintFile();
     //curForm.PrintButton_Click( null, null );
     curForm.Close();
 }
        private void SafetyDirReportButton_Click( object sender, EventArgs e )
        {
            WaterskiScoringSystem.Tournament.SafetyCheckList curForm = new WaterskiScoringSystem.Tournament.SafetyCheckList();

            // Check for open instance of selected form
            for (int idx = 0; idx < this.MdiParent.MdiChildren.Length; idx++) {
                if (((Form)this.MdiParent.MdiChildren[idx]).Name == curForm.Name) {
                    ((Form)this.MdiParent.MdiChildren[idx]).Activate();
                    return;
                }
            }

            curForm.MdiParent = this.MdiParent;
            curForm.Show();
            curForm.ShowTour( editSanctionId.Text );
        }