Пример #1
0
        public RolePerms() : base(PageMode.ViewMode)
        {
            InitializeComponent();
            ModuleName = "RoleSetting";

            VM = new RolePermsVM(0);
            VM.Load();
            BindData();
        }
Пример #2
0
        public RolePerms(int roleId, PageMode pageMode)
            : base(pageMode)
        {
            InitializeComponent();
            ModuleName = "RoleSetting";

            VM = new RolePermsVM(roleId);
            VM.Load();
            BindData();
        }