/// <summary> /// Sets up the panel that shows the error details /// </summary> private void SetFullDetailsPanel() { _fullDetailPanel = new PanelVWG(); _fullDetailPanel.Text = "Error Detail"; _fullDetailPanel.Height = FULL_DETAIL_HEIGHT; _fullDetailPanel.Visible = false; _errorDetails = new TextBoxVWG(); _errorDetails.Text = ExceptionUtilities.GetExceptionString(_exception, 0, false); _errorDetails.Multiline = true; _errorDetails.ScrollBars = Gizmox.WebGUI.Forms.ScrollBars.Both; _showStackTrace = new CheckBoxVWG(); _showStackTrace.Text = "&Show stack trace"; _showStackTrace.CheckedChanged += ShowStackTraceClicked; BorderLayoutManager detailsManager = new BorderLayoutManagerVWG(_fullDetailPanel, GlobalUIRegistry.ControlFactory); detailsManager.AddControl(_errorDetails, BorderLayoutManager.Position.Centre); detailsManager.AddControl(_showStackTrace, BorderLayoutManager.Position.South); }