Beispiel #1
0
 private void BtnPrePrint_Click(object sender, EventArgs e)
 {
     if (null != m_view.ClassesBindingSource.DataSource)
     {
         View.Report.ClassReport report = FactoryReport.GetReport("ClassReport") as View.Report.ClassReport;
         report.SetBindingDataSource(m_view.ClassesBindingSource.DataSource);
         report.ShowPreview();
     }
 }
        public IHttpActionResult Get(int id)
        {
            try
            {
                return(Ok(FactoryReport.ReportInvoiceGet(id)));
            }

            catch (Exception ex)
            {
                Logger.Log(ex.Message);
                return(BadRequest(ex.Message));
            }
        }
        public void Raport(string id)
        {
            FactoryReport report = new FactoryReport();

            report.Get(id);
        }