예제 #1
0
 public ManagementModule(IRegionManager regionManager, ManagementView dashboardView, IUserService userService)
     : base(regionManager, AppScreens.Management)
 {
     _regionManager = regionManager;
     _dashboardView = dashboardView;
     _userService   = userService;
     SetNavigationCommand(Resources.Management, Resources.Common, "Images/Manage.png", 70);
     PermissionRegistry.RegisterPermission(PermissionNames.OpenDashboard, PermissionCategories.Navigation, Resources.CanOpenDashboard);
 }
예제 #2
0
 public KeyboardButtonView(IApplicationState applicationState, ManagementView dashboardView)
 {
     InitializeComponent();
     _dashboardView    = dashboardView;
     _applicationState = applicationState;
 }