Ejemplo n.º 1
0
 /// <summary>
 /// Its the function for print function
 /// </summary>
 /// <param name="decMasterId"></param>
 public void Print(decimal decMasterId)
 {
     try
     {
         DataSet dsPdcClearance = new DataSet();
         PDCClearanceMasterSP SppdcClearance = new PDCClearanceMasterSP();
         dsPdcClearance = SppdcClearance.PDCClearanceVoucherPrinting(decMasterId, 1);
         frmReport frmreport = new frmReport();
         frmreport.MdiParent = formMDI.MDIObj;
         frmreport.PDCClearancevoucherPrinting(dsPdcClearance);
     }
     catch (Exception ex)
     {
         MessageBox.Show("PC18:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }