Exemplo n.º 1
0
 /// <summary>
 /// Function for Print
 /// </summary>
 public void PrintReport()
 {
     try
     {
         RejectionInMasterSP SpRejectionInMaster = new RejectionInMasterSP();
         DataSet             dsRejectionInReport = SpRejectionInMaster.RejectionInReportPrinting(dtFromDate, dtToDate, decVoucherType, strVocherNo, decCashOrParty, decDeliveryNoteNo, decSalesManId, strProductCode);
         frmReport           frmReport           = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.RejectionInReportPrinting(dsRejectionInReport);
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "RIReport9:" + ex.Message;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Function for Print
 /// </summary>
 public void PrintReport()
 {
     try
     {
         RejectionInMasterSP SpRejectionInMaster = new RejectionInMasterSP();
         DataSet             dsRejectionInReport = SpRejectionInMaster.RejectionInReportPrinting(dtFromDate, dtToDate, decVoucherType, strVocherNo, decCashOrParty, decDeliveryNoteNo, decSalesManId, strProductCode);
         frmReport           frmReport           = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.RejectionInReportPrinting(dsRejectionInReport);
     }
     catch (Exception ex)
     {
         MessageBox.Show("RIReport:08" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Function for Print
 /// </summary>
 public void PrintReport()
 {
     try
     {
         RejectionInMasterSP SpRejectionInMaster = new RejectionInMasterSP();
         DataSet dsRejectionInReport = SpRejectionInMaster.RejectionInReportPrinting(dtFromDate, dtToDate, decVoucherType, strVocherNo, decCashOrParty, decDeliveryNoteNo, decSalesManId, strProductCode);
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.RejectionInReportPrinting(dsRejectionInReport);
     }
     catch (Exception ex)
     {
         MessageBox.Show("RIReport:08" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }