/// <summary>
 /// Function to print the voucher
 /// </summary>
 /// <param name="decReceiptMasterId"></param>
 public void Print(decimal decReceiptMasterId, decimal decOrderMasterId1)
 {
     MaterialReceiptBll bllMaterialReceiptMaster = new MaterialReceiptBll();
     try
     {
         DataSet dsMaterialReceipt = bllMaterialReceiptMaster.MaterialReceiptPrinting(decReceiptMasterId, 1, decOrderMasterId1);
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.MaterialReceiptPrinting(dsMaterialReceipt);
     }
     catch (Exception ex)
     {
         MessageBox.Show("MR33:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }