Files
BeWoPlaner/ReportImp/AidsHilfeDuisburg/SupportConceptReport.cs

29 lines
830 B
C#
Raw Permalink Normal View History

2019-07-12 17:36:37 +02:00
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using BS.Shared.Extensions;
using BeWo.Report.ReportObjects;
using BeWo.Report;
namespace AidsHilfeDuisburg
{
public partial class Hilfeplanuebersicht : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<SupportConceptListRO>
{
public Hilfeplanuebersicht()
{
InitializeComponent();
}
public void SetReportDataSource(SupportConceptListRO pRO)
{
if (pRO.AppointedDate.HasValue && pRO.AppointedDate.Value.Date < DateTime.Now.Date)
{
xrLabel1.Text = String.Format("Hilfeplan<61>bersicht Stand {0:dd.MM.yyyy}", pRO.AppointedDate);
}
this.bindingSource1.DataSource = pRO;
}
}
}