using System; using System.Text; using BeWo.Report; using BeWo.Report.ReportObjects; namespace BfpDus { public partial class InvoiceCustomerReport : DevExpress.XtraReports.UI.XtraReport, IBeWoReport { 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; } } }