Ejemplo n.º 1
0
 /// <summary>
 /// Function to use print
 /// </summary>
 /// <param name="decSalesOrderMasterId"></param>
 public void Print(decimal decSalesOrderMasterId)
 {
     try
     {
         SalesOrderMasterSP spSalesOrderMaster = new SalesOrderMasterSP();
         DataSet dsSalesOrder = spSalesOrderMaster.SalesOrderPrinting(decSalesOrderMasterId, 1);
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.SalesOrderPrinting(dsSalesOrder);
     }
     catch (Exception ex)
     {
         MessageBox.Show("SO36:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }