/// <summary> /// Function for Print /// </summary> /// <param name="fromDate"></param> /// <param name="toDate"></param> public void Print(DateTime fromDate, DateTime toDate) { try { DataSet dsCashflow = GetDataSet(); frmReport frmReport = new frmReport(); frmReport.MdiParent = formMDI.MDIObj; frmReport.CashflowReportPrinting(dsCashflow); } catch (Exception ex) { formMDI.infoError.ErrorString = "CF5:" + ex.Message; } }
/// <summary> /// Function for Print /// </summary> /// <param name="fromDate"></param> /// <param name="toDate"></param> public void Print(DateTime fromDate, DateTime toDate) { try { DataSet dsCashflow = GetDataSet(); frmReport frmReport = new frmReport(); frmReport.MdiParent = formMDI.MDIObj; frmReport.CashflowReportPrinting(dsCashflow); } catch (Exception ex) { MessageBox.Show("CF:05" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function for Print /// </summary> /// <param name="fromDate"></param> /// <param name="toDate"></param> public void Print(DateTime fromDate, DateTime toDate) { try { DataSet dsCashflow = GetDataSet(); frmReport frmReport = new frmReport(); frmReport.MdiParent = formMDI.MDIObj; frmReport.CashflowReportPrinting(dsCashflow); } catch (Exception ex) { MessageBox.Show("CF:05" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }