コード例 #1
0
        private void dataExportReportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Check if the file exist
            if (!File.Exists(man.ReportFileName))
            {
                MessageBox.Show("File not found!");
                return;
            }

            DataExportReportViewer derv = new DataExportReportViewer(man.ReportFileName);

            derv.Show();
            return;
        }
コード例 #2
0
        /// <summary>
        /// Handles the Click event of the dataExportReportViewerToolStripMenuItem 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 dataExportReportViewerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DataExportReportViewer derv = new DataExportReportViewer();

            derv.Show();
        }
コード例 #3
0
 /// <summary>
 /// Handles the Click event of the dataExportReportViewerToolStripMenuItem 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 dataExportReportViewerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     DataExportReportViewer derv = new DataExportReportViewer();
     derv.Show();
 }
コード例 #4
0
ファイル: DataExport.cs プロジェクト: imranakram/CrmChainsaw
        private void dataExportReportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Check if the file exist
            if (!File.Exists(man.ReportFileName))
            {
                MessageBox.Show("File not found!");
                return;
            }

            DataExportReportViewer derv = new DataExportReportViewer(man.ReportFileName);
            derv.Show();
            return;
        }