Operation configuration file propertiestable OF CONTENTS
- 1 Definition
- 2. Read the configuration value
- 3. Modify and save configurations
- 4. Note
1 Definition
CSHARP in settings. the configuration field is defined in the settings file. If the scope of the field is defined as user, you can change it during runtime. Applicatiion cannot be changed during runtime. You can use the data grid view for convenience.
2. Read the configuration value
// Fieldname is the defined field text1.text = properties. settings. Default. fieldname;
3. Modify and save configurations
Properties. settings. Default. fieldname = "server"; // use the Save method to save and change properties. settings. Default. Save ();
4. Note
When scope is set to user, its configuration is put in c: \ Users \ [username] \ appdata \ Local \ [appname] \ under this directory or sub-directory user. config configuration file.
Date: 2014-07-01 17:27:34
Author:
Org version 7.8.06 with Emacs Version 23
Validate XHTML 1.0