using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using DevExpress.XtraReports.UI;
using BeWo.Report.ReportObjects;

namespace BeWo.LebenshilfeWuerzburgReports
{
    public partial class Klientenstammblatt : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<CustomerDataRO>
    {
        public Klientenstammblatt()
        {
            InitializeComponent();
        }

        public void SetReportDataSource(CustomerDataRO pRO)
        {
			//var customer = DAOFactory.GenericDAO.GetByID<Customer>(pRO.CustomerOid);

			//foreach (var varfield in customer.VarFieldValueList)
			//{
			//	if (varfield.VarFieldDefOid.Value == 1)
			//	{
			//	}
				
			//}
            this.bindingSource1.DataSource = pRO;
        }
    }
}
