Exemple #1
0
        //public void OnSetupPeriodMenuItemClickCommand()
        //{
        //    eventAggregator.GetEvent<StaffEvent>().Publish(Utility.LoggedInUser); //publish event
        //    PeriodSetupView view = container.Resolve<PeriodSetupView>();
        //    SwitchView(view);
        //}

        private void ShowAppraisalView()
        {
            AppraisalView view          = container.Resolve <AppraisalView>();
            IRegion       contentRegion = this.regionManager.Regions["ContentRegion"];

            contentRegion.Add(view);
            contentRegion.Activate(view);
        }
Exemple #2
0
        private void OnAppraisalCommand()
        {
            AppraisalView     view     = container.Resolve <AppraisalView>();
            AppraisalMenuView menuView = container.Resolve <AppraisalMenuView>();

            ChangeMenu(menuView);
            ChangeContent(view);

            eventAggregator.GetEvent <StaffEvent>().Publish(Utility.LoggedInUser);
        }