protected override void SettingsToPage() { foreach (IShellDescriptor shell in _shellProvider.GetShells()) { cboTerminal.Items.Add(shell); if (string.Equals(shell.Name, AppSettings.ConEmuTerminal.ValueOrDefault, StringComparison.InvariantCultureIgnoreCase)) { cboTerminal.SelectedItem = shell; } } base.SettingsToPage(); }
protected override void SettingsToPage() { chkChowConsoleTab.Checked = AppSettings.ShowConEmuTab.Value; chkShowGpgInformation.Checked = AppSettings.ShowGpgInformation.Value; foreach (IShellDescriptor shell in _shellProvider.GetShells()) { cboTerminal.Items.Add(shell); if (string.Equals(shell.Name, AppSettings.ConEmuTerminal.Value, StringComparison.InvariantCultureIgnoreCase)) { cboTerminal.SelectedItem = shell; } } base.SettingsToPage(); }