CVB.Net 14.0
FileDialogs Class Reference

Container class for utility functions for file dialogs. More...

Static Public Member Functions

static TObject LoadByDialog< TObject > (LoadConstructor< TObject > f, IWin32Window owner, string title, string filter, string defaultExtension, out DialogResult dlgRes)
 Generic file load function. More...
 
static TObject LoadByDialog< TObject > (LoadConstructor< TObject > f, IWin32Window owner, string title, string filter, out DialogResult dlgRes)
 Generic file load function. More...
 
static TObject LoadByDialog< TObject > (LoadConstructor< TObject > f, string title, string filter, out DialogResult dlgRes)
 Generic file load function. More...
 
static TObject LoadByDialog< TObject > (LoadConstructor< TObject > f, string filter, out DialogResult dlgRes)
 Generic file load function. More...
 
static TObject LoadByDialog< TObject > (LoadConstructor< TObject > f, out DialogResult dlgRes)
 Generic file load function. More...
 
static TObject LoadByDialog< TObject > (LoadConstructor< TObject > f, IWin32Window owner, string title, string filter)
 Generic file load function. More...
 
static TObject LoadByDialog< TObject > (LoadConstructor< TObject > f, string title, string filter)
 Generic file load function. More...
 
static TObject LoadByDialog< TObject > (LoadConstructor< TObject > f, string filter)
 Generic file load function. More...
 
static TObject LoadByDialog< TObject > (LoadConstructor< TObject > f)
 Generic file load function. More...
 
static void SaveByDialog< TObject > (TObject obj, SaveFunction< TObject > f, IWin32Window owner, string title, string filter, string defaultExtension, out DialogResult dlgRes)
 Generic file save function. More...
 
static void SaveByDialog< TObject > (TObject obj, SaveFunction< TObject > f, IWin32Window owner, string title, string filter, out DialogResult dlgRes)
 Generic file save function. More...
 
static void SaveByDialog< TObject > (TObject obj, SaveFunction< TObject > f, string title, string filter, out DialogResult dlgRes)
 Generic file save function. More...
 
static void SaveByDialog< TObject > (TObject obj, SaveFunction< TObject > f, string filter, out DialogResult dlgRes)
 Generic file save function. More...
 
static void SaveByDialog< TObject > (TObject obj, SaveFunction< TObject > f, out DialogResult dlgRes)
 Generic file save function. More...
 
static void SaveByDialog< TObject > (TObject obj, SaveFunction< TObject > f, IWin32Window owner, string title, string filter)
 Generic file save function. More...
 
static void SaveByDialog< TObject > (TObject obj, SaveFunction< TObject > f, string title, string filter)
 Generic file save function. More...
 
static void SaveByDialog< TObject > (TObject obj, SaveFunction< TObject > f, string filter)
 Generic file save function. More...
 
static void SaveByDialog< TObject > (TObject obj, SaveFunction< TObject > f)
 Generic file save function. More...
 

Detailed Description

Container class for utility functions for file dialogs.

Member Function Documentation

◆ LoadByDialog< TObject >() [1/9]

static TObject LoadByDialog< TObject > ( LoadConstructor< TObject >  f)
static

Generic file load function.

Template Parameters
TObjectType of the object to be loaded.
Parameters
fLoad delegate.
Returns
Loaded object (or null if loading fails).
Type Constraints
TObject :class 

◆ LoadByDialog< TObject >() [2/9]

static TObject LoadByDialog< TObject > ( LoadConstructor< TObject >  f,
IWin32Window  owner,
string  title,
string  filter 
)
static

Generic file load function.

Template Parameters
TObjectType of the object to be loaded.
Parameters
fLoad delegate.
ownerWindow that owns the modal dialog.
titleTitle of the dialog.
filterFile type filter.
Returns
Loaded object (or null if loading fails).
Type Constraints
TObject :class 

◆ LoadByDialog< TObject >() [3/9]

static TObject LoadByDialog< TObject > ( LoadConstructor< TObject >  f,
IWin32Window  owner,
string  title,
string  filter,
out DialogResult  dlgRes 
)
static

Generic file load function.

Template Parameters
TObjectType of the object to be loaded.
Parameters
fLoad delegate.
ownerWindow that owns the modal dialog.
titleTitle of the dialog.
filterFile type filter.
dlgResDialog result.
Returns
Loaded object (or null if loading fails).
Type Constraints
TObject :class 

◆ LoadByDialog< TObject >() [4/9]

static TObject LoadByDialog< TObject > ( LoadConstructor< TObject >  f,
IWin32Window  owner,
string  title,
string  filter,
string  defaultExtension,
out DialogResult  dlgRes 
)
static

Generic file load function.

Template Parameters
TObjectType of the object to be loaded.
Parameters
fLoad delegate.
ownerWindow that owns the modal dialog.
titleTitle of the dialog.
filterFile type filter.
defaultExtensionDefault extension to append to the file name if no extension was specified.
dlgResDialog result.
Returns
Loaded object (or null if loading fails).
Type Constraints
TObject :class 

◆ LoadByDialog< TObject >() [5/9]

static TObject LoadByDialog< TObject > ( LoadConstructor< TObject >  f,
out DialogResult  dlgRes 
)
static

Generic file load function.

Template Parameters
TObjectType of the object to be loaded.
Parameters
fLoad delegate.
dlgResDialog result.
Returns
Loaded object (or null if loading fails).
Type Constraints
TObject :class 

◆ LoadByDialog< TObject >() [6/9]

static TObject LoadByDialog< TObject > ( LoadConstructor< TObject >  f,
string  filter 
)
static

Generic file load function.

Template Parameters
TObjectType of the object to be loaded.
Parameters
fLoad delegate.
filterFile type filter.
Returns
Loaded object (or null if loading fails).
Type Constraints
TObject :class 

◆ LoadByDialog< TObject >() [7/9]

static TObject LoadByDialog< TObject > ( LoadConstructor< TObject >  f,
string  filter,
out DialogResult  dlgRes 
)
static

Generic file load function.

Template Parameters
TObjectType of the object to be loaded.
Parameters
fLoad delegate.
filterFile type filter.
dlgResDialog result.
Returns
Loaded object (or null if loading fails).
Type Constraints
TObject :class 

◆ LoadByDialog< TObject >() [8/9]

static TObject LoadByDialog< TObject > ( LoadConstructor< TObject >  f,
string  title,
string  filter 
)
static

Generic file load function.

Template Parameters
TObjectType of the object to be loaded.
Parameters
fLoad delegate.
titleTitle of the dialog.
filterFile type filter.
Returns
Loaded object (or null if loading fails).
Type Constraints
TObject :class 

◆ LoadByDialog< TObject >() [9/9]

static TObject LoadByDialog< TObject > ( LoadConstructor< TObject >  f,
string  title,
string  filter,
out DialogResult  dlgRes 
)
static

Generic file load function.

Template Parameters
TObjectType of the object to be loaded.
Parameters
fLoad delegate.
titleTitle of the dialog.
filterFile type filter.
dlgResDialog result.
Returns
Loaded object (or null if loading fails).
Type Constraints
TObject :class 

◆ SaveByDialog< TObject >() [1/9]

static void SaveByDialog< TObject > ( TObject  obj,
SaveFunction< TObject >  f 
)
static

Generic file save function.

Template Parameters
TObjectType of the object to be saved.
Parameters
fLoad delegate.
objObject to be saved.

◆ SaveByDialog< TObject >() [2/9]

static void SaveByDialog< TObject > ( TObject  obj,
SaveFunction< TObject >  f,
IWin32Window  owner,
string  title,
string  filter 
)
static

Generic file save function.

Template Parameters
TObjectType of the object to be saved.
Parameters
fLoad delegate.
ownerWindow that owns the modal dialog.
titleTitle of the dialog.
filterFile type filter.
objObject to be saved.

◆ SaveByDialog< TObject >() [3/9]

static void SaveByDialog< TObject > ( TObject  obj,
SaveFunction< TObject >  f,
IWin32Window  owner,
string  title,
string  filter,
out DialogResult  dlgRes 
)
static

Generic file save function.

Template Parameters
TObjectType of the object to be saved.
Parameters
fLoad delegate.
ownerWindow that owns the modal dialog.
titleTitle of the dialog.
filterFile type filter.
dlgResDialog result.
objObject to be saved.

◆ SaveByDialog< TObject >() [4/9]

static void SaveByDialog< TObject > ( TObject  obj,
SaveFunction< TObject >  f,
IWin32Window  owner,
string  title,
string  filter,
string  defaultExtension,
out DialogResult  dlgRes 
)
static

Generic file save function.

Template Parameters
TObjectType of the object to be saved.
Parameters
fLoad delegate.
ownerWindow that owns the modal dialog.
titleTitle of the dialog.
filterFile type filter.
defaultExtensionDefault extension to append to the file name if no extension was specified.
dlgResDialog result.
objObject to be saved.

◆ SaveByDialog< TObject >() [5/9]

static void SaveByDialog< TObject > ( TObject  obj,
SaveFunction< TObject >  f,
out DialogResult  dlgRes 
)
static

Generic file save function.

Template Parameters
TObjectType of the object to be saved.
Parameters
fLoad delegate.
dlgResDialog result.
objObject to be saved.

◆ SaveByDialog< TObject >() [6/9]

static void SaveByDialog< TObject > ( TObject  obj,
SaveFunction< TObject >  f,
string  filter 
)
static

Generic file save function.

Template Parameters
TObjectType of the object to be saved.
Parameters
fLoad delegate.
filterFile type filter.
objObject to be saved.

◆ SaveByDialog< TObject >() [7/9]

static void SaveByDialog< TObject > ( TObject  obj,
SaveFunction< TObject >  f,
string  filter,
out DialogResult  dlgRes 
)
static

Generic file save function.

Template Parameters
TObjectType of the object to be saved.
Parameters
fLoad delegate.
filterFile type filter.
dlgResDialog result.
objObject to be saved.

◆ SaveByDialog< TObject >() [8/9]

static void SaveByDialog< TObject > ( TObject  obj,
SaveFunction< TObject >  f,
string  title,
string  filter 
)
static

Generic file save function.

Template Parameters
TObjectType of the object to be saved.
Parameters
fLoad delegate.
titleTitle of the dialog.
filterFile type filter.
objObject to be saved.

◆ SaveByDialog< TObject >() [9/9]

static void SaveByDialog< TObject > ( TObject  obj,
SaveFunction< TObject >  f,
string  title,
string  filter,
out DialogResult  dlgRes 
)
static

Generic file save function.

Template Parameters
TObjectType of the object to be saved.
Parameters
fLoad delegate.
titleTitle of the dialog.
filterFile type filter.
dlgResDialog result.
objObject to be saved.