Exemplo n.º 1
0
        public FamilyMainReportControl()
        {
            InitializeComponent();
            var fs = from f in Family.GetFamilyAll() where f.FamilyID < 1000 select f;

            this.DataContext = fs;
        }
Exemplo n.º 2
0
        public TempReport()
        {
            InitializeComponent();
            var fs = from f in Family.GetFamilyAll() where f.FamilyID < 20 select f;

            this.DataContext = fs;
        }