Beispiel #1
0
        public FormProperties(ThemeHelper themeHelper)
        {
            _themeHelper = themeHelper;
            InitializeComponent();
            _typeComboBoxHelper = new EnumComboBoxModeHelper <CodeType>(cbType, CodeType.None);
            _typeComboBoxHelper.Fill();

            _defaultTypeComboBoxHelper = new EnumComboBoxModeHelper <CodeType>(cbDefaultType, CodeType.None);
            _defaultTypeComboBoxHelper.Fill();

            _shortCutKeysComboHelper = new EnumComboBoxModeHelper <Keys>(comboBoxShortCutKeys, Keys.None);
            _shortCutKeysComboHelper.Fill();
            AcceptButton = dialogButton.buttonOk;
            CancelButton = dialogButton.buttonCancel;
        }
Beispiel #2
0
 public FormBackupRestoreSettings()
 {
     InitializeComponent();
     _ComboBoxHelper = new EnumComboBoxModeHelper <EBackupMode>(comboBoxMode, EBackupMode.FileLocation);
     _ComboBoxHelper.Fill();
 }
Beispiel #3
0
 public FormSettings()
 {
     InitializeComponent();
     _ComboBoxHelper = new EnumComboBoxModeHelper <ETheme>(comboBoxTheme, ETheme.Dark);
     _ComboBoxHelper.Fill();
 }