コード例 #1
0
 /// <summary>
 /// Function to print the report
 /// </summary>
 /// <param name="toDate"></param>
 public void Print1(DateTime toDate)
 {
     try
     {
         FinancialStatementSP spFinancial = new FinancialStatementSP();
         DataSet   destBalance            = getdataset1();
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.AgeingReportPrint1(destBalance);
     }
     catch (Exception ex)
     {
         MessageBox.Show("AR9:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #2
0
 /// <summary>
 /// Function to print the report
 /// </summary>
 /// <param name="toDate"></param>
 public void Print1(DateTime toDate)
 {
     try
     {
         FinancialStatementSP spFinancial = new FinancialStatementSP();
         DataSet   destBalance            = getdataset1();
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.AgeingReportPrint1(destBalance);
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "AR9:" + ex.Message;
     }
 }
コード例 #3
0
 /// <summary>
 /// Function to print the report
 /// </summary>
 /// <param name="toDate"></param>
 public void Print1(DateTime toDate)
 {
     try
     {
         FinancialStatementBll bllFinancialStatement = new FinancialStatementBll();
         DataSet destBalance = getdataset1();
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.AgeingReportPrint1(destBalance);
     }
     catch (Exception ex)
     {
         MessageBox.Show("AR9:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }