Ejemplo n.º 1
0
 /// <summary>
 /// print function
 /// </summary>
 /// <param name="decSalesReturnMasterId"></param>
 public void Print(decimal decSalesReturnMasterId)
 {
     try
     {
         SalesReturnMasterSP spSalesReturnMaster = new SalesReturnMasterSP();
         DataSet dsSalesReturn = spSalesReturnMaster.SalesReturnPrinting(decSalesReturnMasterId);
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.SalesReturnPrinting(dsSalesReturn);
     }
     catch (Exception ex)
     {
         MessageBox.Show("SR31:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }