Пример #1
0
 /// <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;
     }
 }
Пример #2
0
 /// <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);
     }
 }
Пример #3
0
 /// <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);
     }
 }