Exemplo n.º 1
0
        /// <summary>
        /// Handles the Click event of the nNReferenceDataTransportReportViewerToolStripMenuItem 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 nNReferenceDataTransportReportViewerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NtoNTransportReportViewer tpv = new NtoNTransportReportViewer();

            tpv.Show();
        }
Exemplo n.º 2
0
 /// <summary>
 /// Handles the Click event of the nNReferenceDataTransportReportViewerToolStripMenuItem 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 nNReferenceDataTransportReportViewerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     NtoNTransportReportViewer tpv = new NtoNTransportReportViewer();
     tpv.Show();
 }
        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;
            }

            NtoNTransportReportViewer tpv = new NtoNTransportReportViewer(man.ReportFileName, man.importFailuresReportFileName);
            tpv.Show();
            return;
        }