Ejemplo n.º 1
0
 public CashModule(IRegionManager regionManager, CashView cashView)
 {
     _regionManager = regionManager;
     _cashView = cashView;
     NavigateCashViewCommand = new CategoryCommand<string>(Resources.Drawer, Resources.Common, "images/Xls.png", OnNavigateCashView, CanNavigateCashView) { Order = 70 };
     PermissionRegistry.RegisterPermission(PermissionNames.NavigateCashView, PermissionCategories.Navigation, Resources.CanNavigateCash);
     PermissionRegistry.RegisterPermission(PermissionNames.MakeCashTransaction, PermissionCategories.Cash, Resources.CanMakeCashTransaction);
 }
Ejemplo n.º 2
0
 public CashModule(IRegionManager regionManager, CashView cashView)
 {
     _regionManager          = regionManager;
     _cashView               = cashView;
     NavigateCashViewCommand = new CategoryCommand <string>(Resources.Drawer, Resources.Common, "images/Xls.png", OnNavigateCashView, CanNavigateCashView)
     {
         Order = 70
     };
     PermissionRegistry.RegisterPermission(PermissionNames.NavigateCashView, PermissionCategories.Navigation, Resources.CanNavigateCash);
     PermissionRegistry.RegisterPermission(PermissionNames.MakeCashTransaction, PermissionCategories.Cash, Resources.CanMakeCashTransaction);
 }