Files
BeWoPlaner/Report/DefaultReports/SupportConceptReport.cs

29 lines
867 B
C#
Raw Normal View History

2016-06-27 01:45:38 +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 BeWo.Report.DefaultReports
{
public partial class Hilfeplanuebersicht : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<SupportConceptListRO>
{
public Hilfeplanuebersicht()
{
InitializeComponent();
}
public void SetReportDataSource(SupportConceptListRO pRO)
{
2017-09-14 19:03:26 +02:00
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);
}
2016-06-27 01:45:38 +02:00
this.bindingSource1.DataSource = pRO;
}
}
}