Utility to store application's configuration in registry. More...
Static Public Member Functions | |
| static void | RememberFile (string FileName) |
| Add a new filename to the list of MRU (most recently used) | |
| static void | RememberDirectory (string PathName) |
| Remember the last directory used to open or save a file. | |
| static string | LastDirectory () |
| Retrieve the last directory used to open or save a file. | |
| static string | LastFile () |
| Retrieve the last file used. | |
| static string [] | LastFiles () |
| Retrieve the history of the last files (MRU) | |
| static void | SaveFormAspect (Form f) |
| Save the geometry of the form. | |
| static void | LoadFormAspect (Form f) |
| Load the geometry of the form. | |
| static string | ReadString (string name, string default_value="") |
| Read a string from registry. | |
| static void | WriteString (string name, string value) |
| Write a string to registry. | |
| static int | ReadInteger (string name, int default_value=0) |
| Read an integer from registry. | |
| static void | WriteInteger (string name, int value) |
| Write an integer to registry. | |
| static bool | ReadBoolean (string name, bool default_value=false) |
| Read a a boolean from registry. | |
| static void | WriteBoolean (string name, bool value) |
| Write a boolean to registry. | |
| static string | ReadSettingString (string name, string default_value="") |
| static int | ReadSettingInt (string name, int default_value=0) |
| static bool | ReadSettingBool (string name, bool default_value=false) |
| static void | WriteSettingString (string name, string value) |
| static void | WriteSettingInt (string name, int value) |
| static void | WriteSettingBool (string name, bool value) |
| static string | ReadSectionSettingString (string section, string name, string default_value="") |
| static int | ReadSectionSettingInt (string section, string name, int default_value=0) |
| static bool | ReadSectionSettingBool (string section, string name, bool default_value=false) |
| static void | WriteSectionSettingString (string section, string name, string value) |
| static void | WriteSectionSettingInt (string section, string name, int value) |
| static void | WriteSectionSettingBool (string section, string name, bool value) |
Public Attributes | |
| const int | RememberFileCount = 5 |
| const int | RememberKeyCount = 10 |
Utility to store application's configuration in registry.