35 lines
749 B
C#
35 lines
749 B
C#
using System;
|
|
using System.Text;
|
|
using BeWo.Report;
|
|
using BeWo.Report.ReportObjects;
|
|
|
|
namespace BfpDus
|
|
{
|
|
public partial class InvoiceCustomerReport : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<InvoiceCustomerRO>
|
|
{
|
|
private InvoiceCustomerRO ro;
|
|
|
|
public InvoiceCustomerReport()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public InvoiceCustomerRO InvoiceCustomerRo
|
|
{
|
|
get { return ro; }
|
|
}
|
|
|
|
public void SetReportDataSource(InvoiceCustomerRO pRO)
|
|
{
|
|
ro = pRO;
|
|
if (String.IsNullOrEmpty(pRO.Notice))
|
|
{
|
|
lblNotice.Visible = false;
|
|
}
|
|
|
|
|
|
this.bindingSource1.DataSource = pRO;
|
|
}
|
|
}
|
|
}
|