Example #1
0
        public ClearanceReportWindow()
        {
            InitializeComponent();
            _reportView = new ReportViewBuilder("Sasa.Reports.Clearance.ClearanceReport.rdlc", UpdateDatasetSource());
            _reportView.RefreshDataSourceCallback = UpdateDatasetSource;
            ReportContainer.Content = _reportView.ReportContent;

            DataContext = this;
        }
Example #2
0
        public AllCompanyReportWindow()
        {
            InitializeComponent();
            _reportView = new ReportViewBuilder("TemporaryEmploymentCorp.Reports.Company.AllCompanyReport.rdlc", UpdateDatasetSource());
            _reportView.RefreshDataSourceCallback = UpdateDatasetSource;
            ReportContainer.Content = _reportView.ReportContent;

            DataContext = this;
        }
Example #3
0
        public HouseholdLivestockWindow()
        {
            InitializeComponent();

            _reportView = new ReportViewBuilder("Sasa.Reports.Livestock.HouseholdLivestockReport.rdlc", UpdateDatasetSource());
            _reportView.RefreshDataSourceCallback = UpdateDatasetSource;
            ReportContainer.Content = _reportView.ReportContent;
            DataContext             = this;
        }
Example #4
0
        public HouseholdReportViewerWindow()
        {
            InitializeComponent();
            _reportView = new ReportViewBuilder("Sasa.Reports.Household.HouseholdReportViewer.rdlc", UpdateDatasetSource());
            _reportView.RefreshDataSourceCallback = UpdateDatasetSource;
            ReportContainer.Content = _reportView.ReportContent;

            DataContext = this;

            SetParameters();
        }
Example #5
0
        public AllPurokPersonsReportWindow()
        {
            InitializeComponent();

            _reportView = new ReportViewBuilder("Sasa.Reports.Purok.AllPurokPersonsReport.rdlc", UpdateDatasetSource());
            _reportView.RefreshDataSourceCallback = UpdateDatasetSource;
            ReportContainer.Content = _reportView.ReportContent;

            DataContext = this;

            SetParameters();
        }
        public MeasurementReportWindow()
        {
            InitializeComponent();

            //IsTemperatureChecked = true;
            //IsPressureChecked = true;
            //IsHumidityChecked = true;
            //IsRain15Checked = true;
            //IsRain24Checked = true;
            //IsSolarMinuteChecked = true;
            //IsSolarHourChecked = true;
            //IsWindSpeedChecked = true;
            //IsWindDirectionChecked = true;

            _reportView = new ReportViewBuilder("AutomatedWeatherStation.Reports.Measurements.MeasurementReport.rdlc",
                                                UpdateDatasetSource());
            _reportView.RefreshDataSOurceCallback = UpdateDatasetSource;
            ReportContainer.Content = _reportView.ReportContent;

            DataContext = this;

            SetParameters();
        }