Interface IEditorDialog<T>
Provides an interface to a dialog that edits a single object.
Namespace: NanoByte.Common.Controls
Assembly: NanoByte.Common.WinForms.dll
Syntax
public interface IEditorDialog<T>
Type Parameters
Name | Description |
---|---|
T | The type of object to edit. |
Methods
ShowDialog(IWin32Window, T)
Displays a modal dialog for editing an element.
Declaration
DialogResult ShowDialog(IWin32Window owner, T element)
Parameters
Type | Name | Description |
---|---|---|
IWin32Window | owner | The parent window used to make the dialog modal. |
T | element | The element to be edited. |
Returns
Type | Description |
---|---|
DialogResult |