/// <inheritdoc />
        public MainWindow()
        {
            InitializeComponent();
            IAppSettingsBase appSettingsBase = new AppSettingsBase(Settings.Default);

            _roundCorners = new RoundCorners();
            IApplicationStyle style = new ApplicationStyle(_roundCorners, true);

            style.Run();
            _appSettings     = new AppSettings(appSettingsBase);
            _moveDirectory   = new MoveDirectory();
            _processByPath   = new ProcessByPath();
            _generateNewPath = new GenerateNewPath(_appSettings);
            Load();
        }
Esempio n. 2
0
        /// <inheritdoc />
        public MainWindow()
        {
            InitializeComponent();

            _roundCorners = new RoundCorners();
            IApplicationStyle style = new ApplicationStyle(_roundCorners, true);

            style.Run();

            WindowState = WindowState.Minimized;
            _app        = (App)Application.Current;

            IFileListFromPath   fileListFromPath   = new FileListFromPath();
            IListFromFileSystem listFromFileSystem = new ListFromFileSystem(_app, fileListFromPath);

            _compareFileLists  = new CompareFileLists(listFromFileSystem, _app);
            _writeFileListToDb = new WriteFileListToDb(listFromFileSystem, _app);

            LoadAsync();
        }