Table of Contents

Class ErrorBox

Namespace
NanoByte.Common.Controls
Assembly
NanoByte.Common.WinForms.dll

A dialog displaying an error message and details.

public sealed class ErrorBox : Form
Inheritance
ErrorBox
Extension Methods

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed; otherwise, false.

Show(IWin32Window?, Exception, RtfBuilder?)

Displays an error box with a message and details.

public static void Show(IWin32Window? owner, Exception exception, RtfBuilder? log = null)

Parameters

owner IWin32Window

The parent window for the dialog; can be null.

exception Exception

The error message to display.

log RtfBuilder

Optional log messages.