Ejemplo n.º 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);
        }
Ejemplo n.º 2
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);
        }