/// <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); } }
/// <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; } }
/// <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); } }