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;
|
2023-02-08 19:02:51 +01:00
|
|
|
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)
|
|
|
|
|
{
|
2023-02-08 19:02:51 +01:00
|
|
|
var c = DAOFactory.GenericDAO.LoadByID<Customer>(pRO.CustomerOid);
|
|
|
|
|
lblMedikation.Text = c.Medication;
|
|
|
|
|
|
2023-02-07 14:43:56 +01:00
|
|
|
this.bindingSource1.DataSource = pRO;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|