예제 #1
0
        public void ShowAdministration()
        {
            if (_administrationWorkspaceViewModel == null)
            {
                _administrationWorkspaceViewModel = IoC.Get <IAdministrationWorkspaceViewModel>();
            }

            ActivateItem(_administrationWorkspaceViewModel);
        }
예제 #2
0
        private void UserLogined(bool changedUser)
        {
            LoginViewVisibility = Visibility.Collapsed;

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

            LoginedUser = Sission.LoginedUser;
        }