private void transportReportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Check if the file exist
            if (!File.Exists(man.ReportFileName))
            {
                MessageBox.Show("Report File not found!");
                return;
            }

            TransportReportViewer tpv = new TransportReportViewer(man.ReportFileName, man.importFailuresReportFileName);
            tpv.Show();
            return;
        }
Beispiel #2
0
 /// <summary>
 /// Handles the Click event of the referenceDataTransportReportViewerToolStripMenuItem control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 private void referenceDataTransportReportViewerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     TransportReportViewer tpv = new TransportReportViewer();
     tpv.Show();
 }
        /// <summary>
        /// Handles the Click event of the referenceDataTransportReportViewerToolStripMenuItem control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        private void referenceDataTransportReportViewerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TransportReportViewer tpv = new TransportReportViewer();

            tpv.Show();
        }