Пример #1
0
 /// <summary>
 /// Function to print the details
 /// </summary>
 public void Print()
 {
     try
     {
         ReceiptMasterSP SpReceiptMaster = new ReceiptMasterSP();
         DataSet         dsReceiptReport = SpReceiptMaster.ReceiptReportPrinting(Convert.ToDateTime(dtpFromDate.Value.ToString()), Convert.ToDateTime(dtpToDate.Value.ToString()), Convert.ToDecimal(cmbLedger.SelectedValue), Convert.ToDecimal(cmbVoucherType.SelectedValue), Convert.ToDecimal(cmbCashOrBank.SelectedValue), 1);
         frmReport       frmReport       = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.ReceiptReportPrinting(dsReceiptReport);
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "RRP1:" + ex.Message;
     }
 }
Пример #2
0
 /// <summary>
 /// Function to print the details
 /// </summary>
 public void Print()
 {
     try
     {
         ReceiptMasterSP SpReceiptMaster = new ReceiptMasterSP();
         DataSet dsReceiptReport = SpReceiptMaster.ReceiptReportPrinting(Convert.ToDateTime(dtpFromDate.Value.ToString()), Convert.ToDateTime(dtpToDate.Value.ToString()), Convert.ToDecimal(cmbLedger.SelectedValue), Convert.ToDecimal(cmbVoucherType.SelectedValue), Convert.ToDecimal(cmbCashOrBank.SelectedValue), 1);
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.ReceiptReportPrinting(dsReceiptReport);
     }
     catch (Exception ex)
     {
         MessageBox.Show("RRP1:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Пример #3
0
 /// <summary>
 /// Function to print the details
 /// </summary>
 public void Print()
 {
     try
     {
         ReceiptMasterSP SpReceiptMaster = new ReceiptMasterSP();
         DataSet         dsReceiptReport = SpReceiptMaster.ReceiptReportPrinting(Convert.ToDateTime(dtpFromDate.Value.ToString()), Convert.ToDateTime(dtpToDate.Value.ToString()), Convert.ToDecimal(cmbLedger.SelectedValue), Convert.ToDecimal(cmbVoucherType.SelectedValue), Convert.ToDecimal(cmbCashOrBank.SelectedValue), 1);
         frmReport       frmReport       = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.ReceiptReportPrinting(dsReceiptReport);
     }
     catch (Exception ex)
     {
         MessageBox.Show("RRP1:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }