Пример #1
0
 /// <summary>
 /// Function to print the SalesQuatation
 /// </summary>
 /// <param name="decMasterId"></param>
 public void Print(decimal decMasterId)
 {
     SalesQuotationMasterSP SpSalesQuotationMaster = new SalesQuotationMasterSP();
     try
     {
         DataSet dsSalesQuotation = SpSalesQuotationMaster.SalesQuotationPrinting(decMasterId);
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.SalesQuotationPrinting(dsSalesQuotation);
     }
     catch (Exception ex)
     {
         MessageBox.Show("SQ:24" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }