예제 #1
0
 public DashboardModule(IRegionManager regionManager, DashboardView dashboardView)
 {
     _regionManager = regionManager;
     _dashboardView = dashboardView;
     _navigateDashboardCommand = new CategoryCommand<string>(Resources.Management, Resources.Common, "Images/Tools.png", OnNavigateDashboard, CanNavigateDashboard) { Order = 90 };
     PermissionRegistry.RegisterPermission(PermissionNames.OpenDashboard, PermissionCategories.Navigation, Resources.CanOpenDashboard);
 }
예제 #2
0
 public DashboardModule(IRegionManager regionManager, DashboardView dashboardView, IUserService userService)
     : base(regionManager, AppScreens.Dashboard)
 {
     _regionManager = regionManager;
     _dashboardView = dashboardView;
     _userService = userService;
     SetNavigationCommand(Resources.Management, Resources.Common, "Images/Tools.png", 90);
     PermissionRegistry.RegisterPermission(PermissionNames.OpenDashboard, PermissionCategories.Navigation, Resources.CanOpenDashboard);
 }
예제 #3
0
 public DashboardModule(IRegionManager regionManager, DashboardView dashboardView)
 {
     _regionManager            = regionManager;
     _dashboardView            = dashboardView;
     _navigateDashboardCommand = new CategoryCommand <string>(Resources.Management, Resources.Common, "Images/Tools.png", OnNavigateDashboard, CanNavigateDashboard)
     {
         Order = 90
     };
     PermissionRegistry.RegisterPermission(PermissionNames.OpenDashboard, PermissionCategories.Navigation, Resources.CanOpenDashboard);
 }
 public KeyboardButtonView(IApplicationState applicationState,DashboardView dashboardView)
 {
     InitializeComponent();
     _dashboardView = dashboardView;
     _applicationState = applicationState;
 }
예제 #5
0
 public KeyboardButtonView(DashboardView dashboardView)
 {
     InitializeComponent();
     _dashboardView = dashboardView;
 }
예제 #6
0
 public KeyboardButtonView(DashboardView dashboardView)
 {
     InitializeComponent();
     _dashboardView = dashboardView;
 }