Show / Hide Table of Contents

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

Save changes if OK; discard changes if Cancel.

Extension Methods

UpdateUtils.To<TIn, TOut>(TIn, Func<TIn, TOut>)
JsonStorage.SaveJson<T>(T, Stream)
JsonStorage.SaveJson<T>(T, String)
JsonStorage.ToJsonString<T>(T)
JsonStorage.ReparseAsJson<T>(Object)
JsonStorage.ReparseAsJson<T>(Object, T)
XmlStorage.SaveXml(Object, Stream, String)
XmlStorage.SaveXml<T>(T, String, String)
XmlStorage.ToXmlString(Object, String)
ConversionUtils.ConvertToString<TType>(TType)
In This Article
Back to top Copyright Bastian Eicher