Generic file save function.
Namespace: Stemmer.Cvb.Forms
Assembly: Stemmer.Cvb.Forms (in Stemmer.Cvb.Forms.dll) Version: 14.0.0.0
Syntax
public static void SaveByDialog<TObject>( TObject obj, SaveFunction<TObject> f, IWin32Window owner, string title, string filter, string defaultExtension, out DialogResult dlgRes )
Parameters
- obj
- Type: TObject
Object to be saved. - f
- Type: Stemmer.Cvb.UtilitiesSaveFunctionTObject
Load delegate. - owner
- Type: System.Windows.FormsIWin32Window
Window that owns the modal dialog. - title
- Type: SystemString
Title of the dialog. - filter
- Type: SystemString
File type filter. - defaultExtension
- Type: SystemString
Default extension to append to the file name if no extension was specified. - dlgRes
- Type: System.Windows.FormsDialogResult
Dialog result.
Type Parameters
- TObject
- Type of the object to be saved.
See Also