Files
BeWoPlaner/ReportImp/BhsSolingen/CustomerDataReport.cs

29 lines
726 B
C#
Raw Permalink Normal View History

2023-02-07 14:43:56 +01:00
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using BeWo.Report.ReportObjects;
using BeWo.Report;
using BeWo.Data.Access;
using BeWo.Data.Entities;
2023-02-07 14:43:56 +01:00
namespace BhsSolingen
{
public partial class Klientenstammblatt : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<CustomerDataRO>
{
public Klientenstammblatt()
{
InitializeComponent();
}
public void SetReportDataSource(CustomerDataRO pRO)
{
var c = DAOFactory.GenericDAO.LoadByID<Customer>(pRO.CustomerOid);
lblMedikation.Text = c.Medication;
2023-02-07 14:43:56 +01:00
this.bindingSource1.DataSource = pRO;
}
}
}