public void ShowView(SettingsViewModel viewModel)
        {
            ViewModel = viewModel;

            this.Owner = ObjectRegistry.GetLatestCreated<MainWindow>();
            ShowDialog();
        }
        public void ShowView()
        {
            _view = ObjectRegistry.Create<ISettingsView>();
            _viewModel = ObjectRegistry.Create<SettingsViewModel>();
            _viewModel.Presenter = this;

            var settings = _settingsService.Load();

            _viewModel.FromSettings(settings);

            _view.ShowView(_viewModel);
        }