Interface IEditorDialog<T>
Provides an interface to a dialog that edits a single object.
public interface IEditorDialog<T>
Type Parameters
TThe 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
ownerIWin32WindowThe parent window used to make the dialog modal.
elementTThe element to be edited.
Returns
- DialogResult
Save changes if System.Windows.Forms.DialogResult.OK; discard changes if System.Windows.Forms.DialogResult.Cancel.