private void OnLoggedOut(object sender, EventArgs e) { _logInWindow = SimpleIoc.Default.GetInstance <ILogInWindow>(Guid.NewGuid().ToString()); _logInWindow.ShowWindow(); _shellWindow.CloseWindow(); _navigationService.UnsubscribeNavigation(); }
private void OnLoggedOut(object sender, EventArgs e) { _logInWindow = _serviceProvider.GetService(typeof(ILogInWindow)) as ILogInWindow; _logInWindow.ShowWindow(); _shellWindow.CloseWindow(); _navigationService.UnsubscribeNavigation(); }