示例#1
0
 /// <summary>
 /// Print function
 /// </summary>
 /// <param name="decMasterId"></param>
 public void Print(decimal decMasterId)
 {
     try
     {
         DataSet dsPdcPayable = new DataSet();
         PDCPayableMasterSP Sppdcpayable = new PDCPayableMasterSP();
         dsPdcPayable = Sppdcpayable.PDCpayableVoucherPrinting(decMasterId, 1);
         frmReport frmreport = new frmReport();
         frmreport.MdiParent = formMDI.MDIObj;
         frmreport.PDCpayableReportPrinting(dsPdcPayable);
     }
     catch (Exception ex)
     {
         MessageBox.Show("PP8:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }