private void AddExceptionControl(Control control, Exception exception)
        {
            var exceptionDetail = new ExceptionDetailControl();

            exceptionDetail.SetControlBackgrounds(_presenter.ReportInfo.BackgroundColor);
            exceptionDetail.PopulateExceptionTab(exception);
            exceptionDetail.Dock = DockStyle.Fill;
            control.Controls.Add(exceptionDetail);
        }
Ejemplo n.º 2
0
 private void AddExceptionControl(Control control, Exception exception)
 {
     var exceptionDetail = new ExceptionDetailControl();
     exceptionDetail.SetControlBackgrounds(_presenter.ReportInfo.BackgroundColor);
     exceptionDetail.PopulateExceptionTab(exception);
     exceptionDetail.Dock = DockStyle.Fill;
     control.Controls.Add(exceptionDetail);
 }