Generic file load function.
Namespace: Stemmer.Cvb.Forms
Assembly: Stemmer.Cvb.Forms (in Stemmer.Cvb.Forms.dll) Version: 14.0.0.0
Syntax
public static TObject LoadByDialog<TObject>( LoadConstructor<TObject> f, string filter, out DialogResult dlgRes ) where TObject : class
Parameters
- f
- Type: Stemmer.Cvb.UtilitiesLoadConstructorTObject
Load delegate. - filter
- Type: SystemString
File type filter. - dlgRes
- Type: System.Windows.FormsDialogResult
Dialog result.
Type Parameters
- TObject
- Type of the object to be loaded.
Return Value
Type: TObjectLoaded object (or null if loading fails).
See Also