コード例 #1
0
 /// <summary>
 /// Function to print the report
 /// </summary>
 /// <param name="decledgerId"></param>
 /// <param name="strAccountGroup"></param>
 /// <param name="dtfromdate"></param>
 /// <param name="dttodate"></param>
 public void print(decimal decledgerId, string strAccountGroup, DateTime dtfromdate, DateTime dttodate)
 {
     try
     {
         DataSet dsoutstanding = BllPartyBalance.OutstandingPrint(decledgerId, strAccountGroup, dtfromdate, dttodate, 1);
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.OutstandingPrinting(dsoutstanding);
     }
     catch (Exception ex)
     {
         MessageBox.Show("OR:08" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }