NanoByte.Common  2.7.0
NanoByte.Common.Controls.IEditorDialog< T > Interface Template Reference

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

Inheritance diagram for NanoByte.Common.Controls.IEditorDialog< T >:

Public Member Functions

DialogResult ShowDialog (IWin32Window owner, T element)
 Displays a modal dialog for editing an element. More...
 

Detailed Description

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

Template Parameters
TThe type of object to edit.

Member Function Documentation

◆ ShowDialog()

DialogResult NanoByte.Common.Controls.IEditorDialog< T >.ShowDialog ( IWin32Window  owner,
element 
)

Displays a modal dialog for editing an element.

Parameters
ownerThe parent window used to make the dialog modal.
elementThe element to be edited.
Returns
Save changes if DialogResult.OK; discard changes if DialogResult.Cancel.

The documentation for this interface was generated from the following file: