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; }
public FormBackupRestoreSettings() { InitializeComponent(); _ComboBoxHelper = new EnumComboBoxModeHelper <EBackupMode>(comboBoxMode, EBackupMode.FileLocation); _ComboBoxHelper.Fill(); }
public FormSettings() { InitializeComponent(); _ComboBoxHelper = new EnumComboBoxModeHelper <ETheme>(comboBoxTheme, ETheme.Dark); _ComboBoxHelper.Fill(); }