コード例 #1
0
 /// <summary>
 /// Function to use print
 /// </summary>
 /// <param name="decSalesOrderMasterId"></param>
 public void Print(decimal decSalesOrderMasterId)
 {
     try
     {
         SalesOrderBll bllSalesOrder = new SalesOrderBll();
         DataSet dsSalesOrder = bllSalesOrder.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);
     }
 }