public SettingsWindow( CefBrowserHandler cefBrowserHandler, IItemTagDao itemTagDao, TooltipHelper tooltipHelper, Action itemViewUpdateTrigger, IDatabaseSettingDao settingsDao, IPlayerItemDao playerItemDao, ArzParser parser, GDTransferFile[] modFilter, StashManager stashManager, ParsingService parsingService) { InitializeComponent(); this._cefBrowserHandler = cefBrowserHandler; this._tooltipHelper = tooltipHelper; this._itemViewUpdateTrigger = itemViewUpdateTrigger; this._settingsDao = settingsDao; this._playerItemDao = playerItemDao; this._parser = parser; this._modFilter = modFilter; this._stashManager = stashManager; _parsingService = parsingService; _itemTagDao = itemTagDao; _controller.BindCheckbox(cbMinimizeToTray); _controller.BindCheckbox(cbMergeDuplicates); _controller.BindCheckbox(cbTransferAnyMod); _controller.BindCheckbox(cbSecureTransfers); _controller.BindCheckbox(cbShowRecipesAsItems); _controller.BindCheckbox(cbAutoUpdateModSettings); _controller.BindCheckbox(cbAutoSearch); _controller.BindCheckbox(cbDisplaySkills); _controller.LoadDefaults(); }
public SettingsWindow( CefBrowserHandler cefBrowserHandler, TooltipHelper tooltipHelper, Action itemViewUpdateTrigger, IPlayerItemDao playerItemDao, GDTransferFile[] modFilter, TransferStashService transferStashService, LanguagePackPicker languagePackPicker ) { InitializeComponent(); this._cefBrowserHandler = cefBrowserHandler; this._tooltipHelper = tooltipHelper; this._itemViewUpdateTrigger = itemViewUpdateTrigger; this._playerItemDao = playerItemDao; this._modFilter = modFilter; this._transferStashService = transferStashService; _languagePackPicker = languagePackPicker; _controller.BindCheckbox(cbMinimizeToTray); _controller.BindCheckbox(cbMergeDuplicates); _controller.BindCheckbox(cbTransferAnyMod); _controller.BindCheckbox(cbSecureTransfers); _controller.BindCheckbox(cbShowRecipesAsItems); _controller.BindCheckbox(cbAutoUpdateModSettings); _controller.BindCheckbox(cbAutoSearch); _controller.BindCheckbox(cbDisplaySkills); _controller.LoadDefaults(); }
public SettingsWindow( CefBrowserHandler cefBrowserHandler, TooltipHelper tooltipHelper, Action itemViewUpdateTrigger, IPlayerItemDao playerItemDao, GDTransferFile[] modFilter, TransferStashService transferStashService, TransferStashService2 transferStashService2, LanguagePackPicker languagePackPicker, SettingsService settings, GrimDawnDetector grimDawnDetector) { InitializeComponent(); _controller = new SettingsController(settings); this._cefBrowserHandler = cefBrowserHandler; this._tooltipHelper = tooltipHelper; this._itemViewUpdateTrigger = itemViewUpdateTrigger; this._playerItemDao = playerItemDao; this._modFilter = modFilter; this._transferStashService = transferStashService; this._transferStashService2 = transferStashService2; _languagePackPicker = languagePackPicker; _settings = settings; _grimDawnDetector = grimDawnDetector; _controller.BindCheckbox(cbMinimizeToTray); _controller.BindCheckbox(cbTransferAnyMod); _controller.BindCheckbox(cbSecureTransfers); _controller.BindCheckbox(cbShowRecipesAsItems); _controller.BindCheckbox(cbAutoUpdateModSettings); _controller.BindCheckbox(cbDisplaySkills); _controller.LoadDefaults(); }
public SettingsWindow( CefBrowserHandler cefBrowserHandler, TooltipHelper tooltipHelper, Action itemViewUpdateTrigger, IPlayerItemDao playerItemDao, GDTransferFile[] modFilter, TransferStashService transferStashService, TransferStashService2 transferStashService2, LanguagePackPicker languagePackPicker, SettingsService settings, GrimDawnDetector grimDawnDetector, DarkMode darkModeToggler, AutomaticUpdateChecker automaticUpdateChecker) { InitializeComponent(); _controller = new SettingsController(settings); this._cefBrowserHandler = cefBrowserHandler; this._tooltipHelper = tooltipHelper; this._itemViewUpdateTrigger = itemViewUpdateTrigger; this._playerItemDao = playerItemDao; this._modFilter = modFilter; this._transferStashService = transferStashService; this._transferStashService2 = transferStashService2; _languagePackPicker = languagePackPicker; _settings = settings; _grimDawnDetector = grimDawnDetector; _darkModeToggler = darkModeToggler; _automaticUpdateChecker = automaticUpdateChecker; _controller.BindCheckbox(cbMinimizeToTray); _controller.BindCheckbox(cbTransferAnyMod); _controller.BindCheckbox(cbSecureTransfers); _controller.BindCheckbox(cbShowRecipesAsItems); _controller.BindCheckbox(cbHideSkills); _controller.LoadDefaults(); // TODO: Write out the settingscontroller and add logic for updating showskills config linkCheckForUpdates.Visible = Environment.Is64BitOperatingSystem; pbAutomaticUpdates.Visible = Environment.Is64BitOperatingSystem; }
public SettingsWindow( IItemTagDao itemTagDao, TooltipHelper tooltipHelper, Action itemViewUpdateTrigger, IDatabaseSettingDao settingsDao, IDatabaseItemDao itemDao, IPlayerItemDao playerItemDao, ArzParser parser, GDTransferFile[] modFilter, StashManager stashManager, ParsingService parsingService) { InitializeComponent(); this._tooltipHelper = tooltipHelper; this._itemViewUpdateTrigger = itemViewUpdateTrigger; this._settingsDao = settingsDao; this._itemDao = itemDao; this._playerItemDao = playerItemDao; this._parser = parser; this._modFilter = modFilter; this._stashManager = stashManager; _parsingService = parsingService; _itemTagDao = itemTagDao; _controller.BindCheckbox(cbMinimizeToTray); _controller.BindCheckbox(cbMergeDuplicates); _controller.BindCheckbox(cbTransferAnyMod); _controller.BindCheckbox(cbSecureTransfers); _controller.BindCheckbox(cbShowRecipesAsItems); _controller.BindCheckbox(cbAutoUpdateModSettings); //_controller.BindCheckbox(cbInstalootDisabled); _controller.BindCheckbox(cbInstaTransfer); _controller.BindCheckbox(cbAutoSearch); _controller.BindCheckbox(cbDisplaySkills); _controller.LoadDefaults(); cbInstalootEnabled.Checked = (InstalootSettingType)Properties.Settings.Default.InstalootSetting == InstalootSettingType.Enabled; }