26 lines
674 B
C#
26 lines
674 B
C#
using System;
|
|
using System.Drawing;
|
|
using System.Collections;
|
|
using System.ComponentModel;
|
|
using DevExpress.XtraReports.UI;
|
|
using BeWo.Report.ReportObjects;
|
|
using BeWo.Report;
|
|
|
|
namespace SPZLeverkusen
|
|
{
|
|
public partial class Klientenstammblatt : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<CustomerDataRO>
|
|
{
|
|
public Klientenstammblatt()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void SetReportDataSource(CustomerDataRO pRO)
|
|
{
|
|
if (pRO.Customer.Sex.HasValue && pRO.Customer.Sex == BS.Shared.Sex.Divers)
|
|
pRO.Sex = "divers";
|
|
this.bindingSource1.DataSource = pRO;
|
|
}
|
|
}
|
|
}
|