private void LoadConfigFromRegistry() { RegistryCfgFile registry = RegistryCfgFile.OpenApplicationSectionReadOnly("TerminalSettings"); config = new GoogleVasConfig(); config.Load(registry); }
public GoogleVasConfig GetConfig() { RegistryCfgFile registry = RegistryCfgFile.OpenApplicationSectionReadOnly("TerminalSettings"); GoogleVasConfig config = new GoogleVasConfig(); config.Load(registry); return(config); }
private void ConfigForm_Load(object sender, EventArgs e) { RegistryCfgFile registry = RegistryCfgFile.OpenApplicationSectionReadOnly("TerminalSettings"); GoogleVasConfig config = new GoogleVasConfig(); config.Load(registry); ConfigToForm(config); }
private void lkClose_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { GoogleVasConfig config = new GoogleVasConfig(); FormToConfig(config); RegistryCfgFile registry = RegistryCfgFile.OpenApplicationSectionReadWrite("TerminalSettings"); config.Save(registry); Close(); }