private void LoadConfigFromRegistry()
        {
            RegistryCfgFile registry = RegistryCfgFile.OpenApplicationSectionReadOnly("TerminalSettings");

            config = new GoogleVasConfig();
            config.Load(registry);
        }
Exemple #2
0
        public GoogleVasConfig GetConfig()
        {
            RegistryCfgFile registry = RegistryCfgFile.OpenApplicationSectionReadOnly("TerminalSettings");
            GoogleVasConfig config   = new GoogleVasConfig();

            config.Load(registry);
            return(config);
        }
Exemple #3
0
        private void ConfigForm_Load(object sender, EventArgs e)
        {
            RegistryCfgFile registry = RegistryCfgFile.OpenApplicationSectionReadOnly("TerminalSettings");
            GoogleVasConfig config   = new GoogleVasConfig();

            config.Load(registry);
            ConfigToForm(config);
        }
Exemple #4
0
        private void lkClose_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            GoogleVasConfig config = new GoogleVasConfig();

            FormToConfig(config);
            RegistryCfgFile registry = RegistryCfgFile.OpenApplicationSectionReadWrite("TerminalSettings");

            config.Save(registry);
            Close();
        }