Exemple #1
0
        /// <summary>
        /// Creates a new instance of the <see cref="CorrectnessReportUserControl"/> class.
        /// </summary>
        public CorrectnessReportUserControl()
        {
            InitializeComponent();

            ReportUserControl userControl = new ReportUserControl();
            ReportViewModel   viewModel   = userControl.ViewModel;

            viewModel.ReportType                   = "Correctness";
            viewModel.ReportGenerationTime         = new DateTime(1, 1, 1, 4, 0, 0);
            viewModel.OriginalReportGenerationTime = viewModel.ReportGenerationTime;

            AddChild(userControl);
        }
        /// <summary>
        /// Creates a new instance of the <see cref="CorrectnessReportUserControl"/> class.
        /// </summary>
        public CorrectnessReportUserControl()
        {
            InitializeComponent();

            ReportUserControl userControl = new ReportUserControl();
            ReportViewModel viewModel = userControl.ViewModel;

            viewModel.ReportType = "Correctness";
            viewModel.ReportGenerationTime = new DateTime(1, 1, 1, 4, 0, 0);
            viewModel.OriginalReportGenerationTime = viewModel.ReportGenerationTime;

            AddChild(userControl);
        }