Exemplo n.º 1
0
        public void ShowAdministration()
        {
            if (_administrationWorkspaceViewModel == null)
            {
                _administrationWorkspaceViewModel = IoC.Get <IAdministrationWorkspaceViewModel>();
            }

            ActivateItem(_administrationWorkspaceViewModel);
        }
Exemplo n.º 2
0
        private void UserLogined(bool changedUser)
        {
            LoginViewVisibility = Visibility.Collapsed;

            Items.Clear();
            ActiveItem = null;
            _administrationWorkspaceViewModel = null;
            _employeeInfoViewModel            = null;

            LoginedUser = Sission.LoginedUser;
        }