public MainWindow() { _style = new ApplicationStyle(this); _basics = new ApplicationBasics(); InitializeComponent(); _bw = new BackgroundWorker(); TaskbarItemInfo = new TaskbarItemInfo(); _style.Load(); ValidateForm(); _checkFileDates = new CheckFileDates(); }
// ReSharper restore PrivateFieldCanBeConvertedToLocalVariable /// <summary> /// </summary> public MainWindow() { InitializeComponent(); _hashAlgorithmDictionary = new HashAlgorithmDictionary(); _folderBrowser = new ExplorerFolderBrowser(); _applicationSettings = new ApplicationSettings(); _basics = new ApplicationBasics(_folderBrowser, _applicationSettings); _dialogService = new DialogService(this); TaskbarItemInfo = new TaskbarItemInfo(); _themeManagerHelper = new ThemeManagerHelper(); _coreSettings = new CoreSettings(Properties.Settings.Default); _style = new MetroStyle(this, Accent, ThemeSwitch, _coreSettings, _themeManagerHelper); _style.Load(true); var linkerTime = Assembly.GetExecutingAssembly().GetLinkerTime(); LinkerTime.Content = linkerTime.ToString(CultureInfo.InvariantCulture); Load(); }