Esempio n. 1
0
        /// <summary>
        /// Read all the application settings from the registry and then change the appropriate
        /// elements to display the new settings.
        /// </summary>
        private void Read()
        {
            // Open or create the registry key in which to save application settings
            RegistryKey key = Registry.CurrentUser.CreateSubKey("Software\\GreenMaggot\\TsemachPod");

            // Read all of the settings from the registry
            Savior.Read(settings, key);

            // Update all the application information with values in the Settings class
            this.GetSettings();
        }