Interface IEditorDialog<T>
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
IWin32WindowThe parent window used to make the dialog modal.
element
TThe element to be edited.
Returns
- DialogResult
Save changes if System.Windows.Forms.DialogResult.OK; discard changes if System.Windows.Forms.DialogResult.Cancel.