Beispiel #1
0
        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();
        }
Beispiel #2
0
        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();
        }