Class ThreadExceptionWindow
Implements a window that is displayed when an exception occurs in the application.
public class ThreadExceptionWindow : DialogWindow, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, INotifyDataErrorInfo, IWindow, IControl, IDisposable, IWin32Window
- Inheritance
-
ThreadExceptionWindow
- Implements
Constructors
- ThreadExceptionWindow()
Initializes a new instance of the ThreadExceptionWindow class.
- ThreadExceptionWindow(Exception, string?, bool, bool)
Initializes a new instance of the ThreadExceptionWindow class.
Fields
- DefaultErrorImageSize
Gets or sets default error image size in device-independent units.
- ShowDetailsInSeparateDialog
Indicates whether details should be displayed in a separate dialog.
Properties
- AdditionalInfo
Gets or sets additional information related to the exception.
- CanContinue
Gets or sets whether 'Continue' button is visible.
- CanQuit
Gets or sets whether 'Quit' button is visible.
- Exception
Gets or sets an exception for which this window is shown.
Methods
- CreateButtonsGrid()
Creates and returns a grid of buttons arranged horizontally, with predefined functionality.
- GetDetailsText()
Gets detailed information about the exception.
- GetMessageText()
Gets message text used to show information about the exception.
- InitializeControls()
Initializes the controls and layout for the window, setting up its appearance, behavior, and child elements.
- OnContinueButtonClick(object?, EventArgs)
Handles the "Continue" button click event.
- OnDetailsButtonClick(object?, EventArgs)
Handles the "Details" button click event.
- OnQuitButtonClick(object?, EventArgs)
Handles the "Quit" button click event.