private void LoadApplicationSettings()
        {
            this._configurationStorage.Load();

            this.View.MinimizeToTray = this._configuration.MinimizeToTray;

            this.View.ThumbnailOpacity = this._configuration.ThumbnailOpacity;

            this.View.EnableClientLayoutTracking      = this._configuration.EnableClientLayoutTracking;
            this.View.HideActiveClientThumbnail       = this._configuration.HideActiveClientThumbnail;
            this.View.MinimizeInactiveClients         = this._configuration.MinimizeInactiveClients;
            this.View.ShowThumbnailsAlwaysOnTop       = this._configuration.ShowThumbnailsAlwaysOnTop;
            this.View.HideThumbnailsOnLostFocus       = this._configuration.HideThumbnailsOnLostFocus;
            this.View.EnablePerClientThumbnailLayouts = this._configuration.EnablePerClientThumbnailLayouts;

            this.View.SetThumbnailSizeLimitations(this._configuration.ThumbnailMinimumSize, this._configuration.ThumbnailMaximumSize);
            this.View.ThumbnailSize = this._configuration.ThumbnailSize;

            this.View.EnableThumbnailZoom = this._configuration.ThumbnailZoomEnabled;
            this.View.ThumbnailZoomFactor = this._configuration.ThumbnailZoomFactor;
            this.View.ThumbnailZoomAnchor = ViewZoomAnchorConverter.Convert(this._configuration.ThumbnailZoomAnchor);

            this.View.ShowThumbnailOverlays       = this._configuration.ShowThumbnailOverlays;
            this.View.ShowThumbnailFrames         = this._configuration.ShowThumbnailFrames;
            this.View.EnableActiveClientHighlight = this._configuration.EnableActiveClientHighlight;
            this.View.ActiveClientHighlightColor  = this._configuration.ActiveClientHighlightColor;
        }
        private async void SaveApplicationSettings()
        {
            this._configuration.MinimizeToTray = this.View.MinimizeToTray;

            this._configuration.ThumbnailOpacity = (float)this.View.ThumbnailOpacity;

            this._configuration.EnableClientLayoutTracking      = this.View.EnableClientLayoutTracking;
            this._configuration.HideActiveClientThumbnail       = this.View.HideActiveClientThumbnail;
            this._configuration.MinimizeInactiveClients         = this.View.MinimizeInactiveClients;
            this._configuration.ShowThumbnailsAlwaysOnTop       = this.View.ShowThumbnailsAlwaysOnTop;
            this._configuration.HideThumbnailsOnLostFocus       = this.View.HideThumbnailsOnLostFocus;
            this._configuration.EnablePerClientThumbnailLayouts = this.View.EnablePerClientThumbnailLayouts;

            this._configuration.ThumbnailSize = this.View.ThumbnailSize;

            this._configuration.ThumbnailZoomEnabled = this.View.EnableThumbnailZoom;
            this._configuration.ThumbnailZoomFactor  = this.View.ThumbnailZoomFactor;
            this._configuration.ThumbnailZoomAnchor  = ViewZoomAnchorConverter.Convert(this.View.ThumbnailZoomAnchor);

            this._configuration.ShowThumbnailOverlays = this.View.ShowThumbnailOverlays;
            if (this._configuration.ShowThumbnailFrames != this.View.ShowThumbnailFrames)
            {
                this._configuration.ShowThumbnailFrames = this.View.ShowThumbnailFrames;
                await this._mediator.Publish(new ThumbnailFrameSettingsUpdated());
            }

            this._configuration.EnableActiveClientHighlight = this.View.EnableActiveClientHighlight;
            this._configuration.ActiveClientHighlightColor  = this.View.ActiveClientHighlightColor;

            this._configurationStorage.Save();

            this.View.RefreshZoomSettings();

            await this._mediator.Send(new SaveConfiguration());
        }