Exemplo n.º 1
0
 public ReportTab(UC_NewLog userControl, ReportFormData RFD)
 {
     folderPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
     this.myUC  = userControl;
     rpData     = RFD;
     mrd        = new MyReportDefault();
 }
Exemplo n.º 2
0
 private void btn_GenerateReport_Click(object sender, EventArgs e)
 {
     saveDialog.ShowDialog();
     if (saveDialog.FileName != "")
     {
         myUC.StartCreatePDFReport(this);
         if (rpData.chk_Default_Checked)
         {
             mrd = new MyReportDefault(HeaderText, ReportFromText, ReportByText,
                                       RowChartChk, PieChartChk, SummaryChk,
                                       LogoFilePathText);
         }
     }
 }