//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); }
private void OnAppraisalCommand() { AppraisalView view = container.Resolve <AppraisalView>(); AppraisalMenuView menuView = container.Resolve <AppraisalMenuView>(); ChangeMenu(menuView); ChangeContent(view); eventAggregator.GetEvent <StaffEvent>().Publish(Utility.LoggedInUser); }