Table of Contents

Interface IEditorDialog<T>

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

Provides an interface to a dialog that edits a single object.

public interface IEditorDialog<T>

Type Parameters

T

The type of object to edit.

Extension Methods

Methods

ShowDialog(IWin32Window, T)

Displays a modal dialog for editing an element.

DialogResult ShowDialog(IWin32Window owner, T element)

Parameters

owner IWin32Window

The parent window used to make the dialog modal.

element T

The element to be edited.

Returns

DialogResult

Save changes if OK; discard changes if Cancel.