FormConfigRestoreLoadConfig Method |
load the saved config file. will automatically load all the control values, and return the manual strings
Namespace: ANDREICSLIB.HelpersAssembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static List<Tuple<string, string>> LoadConfig(
Form baseform,
string filename
)
Public Shared Function LoadConfig (
baseform As Form,
filename As String
) As List(Of Tuple(Of String, String))
public:
static List<Tuple<String^, String^>^>^ LoadConfig(
Form^ baseform,
String^ filename
)
static member LoadConfig :
baseform : Form *
filename : string -> List<Tuple<string, string>>
Parameters
- baseform
- Type: System.Windows.FormsForm
pass the base form - filename
- Type: SystemString
the saved config flename
Return Value
Type:
ListTupleString,
Stringreturns null on error, and a list of tuples of saved literal strings otherwise
See Also