private void OnLoggedOut(object sender, EventArgs e)
        {
            _logInWindow = SimpleIoc.Default.GetInstance <ILogInWindow>(Guid.NewGuid().ToString());
            _logInWindow.ShowWindow();

            _shellWindow.CloseWindow();
            _navigationService.UnsubscribeNavigation();
        }
Esempio n. 2
0
        private void OnLoggedOut(object sender, EventArgs e)
        {
            _logInWindow = _serviceProvider.GetService(typeof(ILogInWindow)) as ILogInWindow;
            _logInWindow.ShowWindow();

            _shellWindow.CloseWindow();
            _navigationService.UnsubscribeNavigation();
        }