Class ErrorBox
A dialog displaying an error message and details.
Namespace: NanoByte.Common.Controls
Assembly: NanoByte.Common.WinForms.dll
Syntax
public sealed class ErrorBox : Form
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | true if managed resources should be disposed; otherwise, false. |
Show(IWin32Window, Exception, RtfBuilder)
Displays an error box with a message and details.
Declaration
public static void Show(IWin32Window owner, Exception exception, RtfBuilder log = null)
Parameters
Type | Name | Description |
---|---|---|
IWin32Window | owner | The parent window for the dialog; can be |
Exception | exception | The error message to display. |
RtfBuilder | log | Optional log messages. |