NanoByte.Common  2.8.1
NanoByte.Common.Controls.ErrorBox Class Reference

A dialog displaying an error message and details. More...

Inheritance diagram for NanoByte.Common.Controls.ErrorBox:

Static Public Member Functions

static void Show (IWin32Window? owner, Exception exception, RtfBuilder logRtf)
 Displays an error box with a message and details. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Detailed Description

A dialog displaying an error message and details.

Member Function Documentation

◆ Dispose()

override void NanoByte.Common.Controls.ErrorBox.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

◆ Show()

static void NanoByte.Common.Controls.ErrorBox.Show ( IWin32Window?  owner,
Exception  exception,
RtfBuilder  logRtf 
)
inlinestatic

Displays an error box with a message and details.

Parameters
ownerThe parent window for the dialog; can be null.
exceptionThe error message to display.
logRtfThe details formatted as RTF.
Returns
The text the user entered if he pressed OK; otherwise null.

The documentation for this class was generated from the following files: