コード例 #1
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);
        }
コード例 #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);
 }