Пример #1
0
 /// <summary>
 /// Print function
 /// </summary>
 /// <param name="decPaymentMasterId"></param>
 public void Print(decimal decPaymentMasterId)
 {
     try
     {
         PaymentMasterSP SpPaymentMaster = new PaymentMasterSP();
         DataSet dsPaymentVoucher = SpPaymentMaster.PaymentVoucherPrinting(decPaymentMasterId, 1);
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.PaymentVoucherPrinting(dsPaymentVoucher);
     }
     catch (Exception ex)
     {
         MessageBox.Show("PV10:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }